Class ReplicatedDataSerializer.KeyComparator<A extends akka.protobufv3.internal.GeneratedMessageV3>

    • Constructor Summary

      Constructors 
      Constructor Description
      KeyComparator()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(A x, A y)  
      abstract java.lang.Object getKey​(A entry)
      Get the key from the entry.
      • 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

      • KeyComparator

        public KeyComparator()
    • Method Detail

      • compare

        public final int compare​(A x,
                                 A y)
        Specified by:
        compare in interface java.util.Comparator<A extends akka.protobufv3.internal.GeneratedMessageV3>
      • getKey

        public abstract java.lang.Object getKey​(A entry)
        Get the key from the entry. The key may be a String, Int, Long, or OtherMessage
        Parameters:
        entry - The protobuf entry used with Map types
        Returns:
        The Key