Class DecoratedKey

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DecoratedKey>

    public class DecoratedKey
    extends java.lang.Object
    implements java.lang.Comparable<DecoratedKey>, java.io.Serializable
    See Also:
    Serialized Form
    • Method Detail

      • getToken

        @NotNull
        public java.math.BigInteger getToken()
      • getKey

        @NotNull
        public java.nio.ByteBuffer getKey()
      • compareTo

        public int compareTo​(@NotNull
                             DecoratedKey that)
        Specified by:
        compareTo in interface java.lang.Comparable<DecoratedKey>
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object