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

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

protected class Reference2IntMaps.Singleton.SingletonEntry
extends Object
implements Reference2IntMap.Entry<K>, Map.Entry<K,Integer>


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

Constructor Detail

Reference2IntMaps.Singleton.SingletonEntry

protected Reference2IntMaps.Singleton.SingletonEntry()
Method Detail

getKey

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

getValue

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

getIntValue

public int getIntValue()
Specified by:
getIntValue in interface Reference2IntMap.Entry<K>
See Also:
Map.Entry.getValue()

setValue

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

setValue

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

equals

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

hashCode

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.