public static class AbstractShort2ReferenceMap.BasicEntry<V> extends java.lang.Object implements Short2ReferenceMap.Entry<V>
This class does not implement setValue()
, as the modification
would not be reflected in the base map.
Constructor and Description |
---|
AbstractShort2ReferenceMap.BasicEntry(short key,
V value) |
AbstractShort2ReferenceMap.BasicEntry(java.lang.Short key,
V value) |
public AbstractShort2ReferenceMap.BasicEntry(java.lang.Short key, V value)
public AbstractShort2ReferenceMap.BasicEntry(short key, V value)
public java.lang.Short getKey()
getKey
in interface java.util.Map.Entry<java.lang.Short,V>
public short getShortKey()
getShortKey
in interface Short2ReferenceMap.Entry<V>
Map.Entry.getKey()
public V getValue()
getValue
in interface java.util.Map.Entry<java.lang.Short,V>
public V setValue(V value)
setValue
in interface java.util.Map.Entry<java.lang.Short,V>
public boolean equals(java.lang.Object o)
equals
in interface java.util.Map.Entry<java.lang.Short,V>
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.util.Map.Entry<java.lang.Short,V>
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object