it.unimi.dsi.fastutil.shorts
Class Short2ReferenceMaps.Singleton.SingletonEntry

java.lang.Object
  extended by it.unimi.dsi.fastutil.shorts.Short2ReferenceMaps.Singleton.SingletonEntry
All Implemented Interfaces:
Short2ReferenceMap.Entry<V>, Map.Entry<Short,V>
Enclosing class:
Short2ReferenceMaps.Singleton<V>

protected class Short2ReferenceMaps.Singleton.SingletonEntry
extends Object
implements Short2ReferenceMap.Entry<V>, Map.Entry<Short,V>


Constructor Summary
protected Short2ReferenceMaps.Singleton.SingletonEntry()
           
 
Method Summary
 boolean equals(Object o)
           
 Short getKey()
           
 short getShortKey()
           
 V getValue()
           
 int hashCode()
           
 V setValue(V value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Short2ReferenceMaps.Singleton.SingletonEntry

protected Short2ReferenceMaps.Singleton.SingletonEntry()
Method Detail

getKey

public Short getKey()
Specified by:
getKey in interface Map.Entry<Short,V>

getValue

public V getValue()
Specified by:
getValue in interface Map.Entry<Short,V>

getShortKey

public short getShortKey()
Specified by:
getShortKey in interface Short2ReferenceMap.Entry<V>
See Also:
Map.Entry.getKey()

setValue

public V setValue(V value)
Specified by:
setValue in interface Map.Entry<Short,V>

equals

public boolean equals(Object o)
Specified by:
equals in interface Map.Entry<Short,V>
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface Map.Entry<Short,V>
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.