public class UUIDComparator extends Object implements Comparator<UUID>
UUIDs. Unlike the
UUID.compareTo(UUID) method, this comparator interprets the UUIDs as
unsigned integers, thus ordering them in the same order that most non-Java
code would use.| Constructor and Description |
|---|
UUIDComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(UUID uuid1,
UUID uuid2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(UUID uuid1, UUID uuid2)
compare in interface Comparator<UUID>Copyright © 2011–2017 aquenos GmbH. All rights reserved.