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