it.unimi.dsi.fastutil.objects
Class Object2ShortMaps.Singleton.SingletonEntry

java.lang.Object
  extended by it.unimi.dsi.fastutil.objects.Object2ShortMaps.Singleton.SingletonEntry
All Implemented Interfaces:
Object2ShortMap.Entry<K>, Map.Entry<K,Short>
Enclosing class:
Object2ShortMaps.Singleton<K>

protected class Object2ShortMaps.Singleton.SingletonEntry
extends Object
implements Object2ShortMap.Entry<K>, Map.Entry<K,Short>


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

Constructor Detail

Object2ShortMaps.Singleton.SingletonEntry

protected Object2ShortMaps.Singleton.SingletonEntry()
Method Detail

getKey

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

getValue

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

getShortValue

public short getShortValue()
Specified by:
getShortValue in interface Object2ShortMap.Entry<K>
See Also:
Map.Entry.getValue()

setValue

public short setValue(short value)
Specified by:
setValue in interface Object2ShortMap.Entry<K>
See Also:
Map.Entry.setValue(Object)

setValue

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

equals

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

hashCode

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.