Class ItemPair

java.lang.Object
com.gentlyweb.utils.ItemPair
All Implemented Interfaces:
Map.Entry

public class ItemPair extends Object implements Map.Entry
  • Constructor Details

  • Method Details

    • 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.
    • getKey

      public Object getKey()
      Specified by:
      getKey in interface Map.Entry
    • setValue

      public Object setValue(Object value)
      Specified by:
      setValue in interface Map.Entry
    • getValue

      public Object getValue()
      Specified by:
      getValue in interface Map.Entry
    • 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.