Class ItemPair

  • All Implemented Interfaces:
    java.util.Map.Entry

    public class ItemPair
    extends java.lang.Object
    implements java.util.Map.Entry
    • Constructor Summary

      Constructors 
      Constructor Description
      ItemPair​(java.lang.Object key, java.lang.Object value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      This method just uses the algorithm defined in the Map.Entry interface.
      java.lang.Object getKey()  
      java.lang.Object getValue()  
      int hashCode()
      This method just uses the algorithm defined in the Map.Entry interface.
      java.lang.Object setValue​(java.lang.Object value)  
      • Methods inherited from class java.lang.Object

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

      • ItemPair

        public ItemPair​(java.lang.Object key,
                        java.lang.Object value)
    • Method Detail

      • hashCode

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

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

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

        public java.lang.Object getValue()
        Specified by:
        getValue in interface java.util.Map.Entry
      • equals

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