it.unimi.dsi.fastutil.ints
Class Int2LongMaps.Singleton.SingletonEntry

java.lang.Object
  extended by it.unimi.dsi.fastutil.ints.Int2LongMaps.Singleton.SingletonEntry
All Implemented Interfaces:
Int2LongMap.Entry, Map.Entry<Integer,Long>
Enclosing class:
Int2LongMaps.Singleton

protected class Int2LongMaps.Singleton.SingletonEntry
extends Object
implements Int2LongMap.Entry, Map.Entry<Integer,Long>


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

Constructor Detail

Int2LongMaps.Singleton.SingletonEntry

protected Int2LongMaps.Singleton.SingletonEntry()
Method Detail

getKey

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

getValue

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

getIntKey

public int getIntKey()
Specified by:
getIntKey in interface Int2LongMap.Entry
See Also:
Map.Entry.getKey()

getLongValue

public long getLongValue()
Specified by:
getLongValue in interface Int2LongMap.Entry
See Also:
Map.Entry.getValue()

setValue

public long setValue(long value)
Specified by:
setValue in interface Int2LongMap.Entry
See Also:
Map.Entry.setValue(Object)

setValue

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

equals

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

hashCode

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.