Class SegmentAwareKey<K>


  • public class SegmentAwareKey<K>
    extends Object
    Encapsulates the key and its segment.
    Since:
    12
    Author:
    Pedro Ruivo
    • Constructor Detail

      • SegmentAwareKey

        public SegmentAwareKey​(K key,
                               int segment)
    • Method Detail

      • getKey

        public K getKey()
      • getSegment

        public int getSegment()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object