Package akka.util

Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • UUIDComparator

        public UUIDComparator()
    • Method Detail

      • compare

        public int compare​(java.util.UUID u1,
                           java.util.UUID u2)
        Specified by:
        compare in interface java.util.Comparator<java.util.UUID>