Class ItemPair

    • Constructor Detail

    • Method Detail

      • hashCode

        public int hashCode()
        This method just uses the algorithm defined in the Map.Entry interface.
        Specified by:
        hashCode in interface Map.Entry
        Overrides:
        hashCode in class Object
        Returns:
        The hash code.
      • equals

        public boolean equals​(Object o)
        This method just uses the algorithm defined in the Map.Entry interface.
        Specified by:
        equals in interface Map.Entry
        Overrides:
        equals in class Object
        Returns:
        The hash code.