Class IntHashMap.Entry<V>

  • Type Parameters:
    V - type of value object
    Enclosing class:
    IntHashMap<V>

    public static class IntHashMap.Entry<V>
    extends java.lang.Object
    Author:
    jcompagner
    • Method Detail

      • getKey

        public int getKey()
        Returns:
        The int key of this entry
      • getValue

        public V getValue()
        Returns:
        Gets the value object of this entry
      • setValue

        public V setValue​(V newValue)
        Parameters:
        newValue -
        Returns:
        The previous value
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()