Package org.apache.pekko.util
Class UUIDComparator
- java.lang.Object
-
- org.apache.pekko.util.UUIDComparator
-
- All Implemented Interfaces:
java.util.Comparator<java.util.UUID>
public class UUIDComparator extends java.lang.Object implements java.util.Comparator<java.util.UUID>
Scala implementation of UUIDComparator in https://github.com/cowtowncoder/java-uuid-generator Apache License 2.0.
-
-
Constructor Summary
Constructors Constructor Description UUIDComparator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UUIDComparator
comparator()
int
compare(java.util.UUID u1, java.util.UUID u2)
-
-
-
Method Detail
-
comparator
public static UUIDComparator comparator()
-
compare
public int compare(java.util.UUID u1, java.util.UUID u2)
- Specified by:
compare
in interfacejava.util.Comparator<java.util.UUID>
-
-