Class PairKeyExtractor

  • All Implemented Interfaces:, KeyExtractor

    public final class PairKeyExtractor
    extends java.lang.Object
    implements KeyExtractor
    A KeyExtractor for Pair class.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.Object extractKey​(java.lang.Object element)
      Extracts key.
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PairKeyExtractor

        public PairKeyExtractor()
    • Method Detail

      • extractKey

        public java.lang.Object extractKey​(java.lang.Object element)
        Description copied from interface: KeyExtractor
        Extracts key.
        Specified by:
        extractKey in interface KeyExtractor
        element - Element to get the key from.
        The extracted key of the element.
      • equals

        public boolean equals​(java.lang.Object o)
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object