ch.javasoft.util.intcoll
Class AbstractIntIntMap.ImmutableIntIntEntry

java.lang.Object
  extended by ch.javasoft.util.intcoll.AbstractIntIntMap.ImmutableIntIntEntry
All Implemented Interfaces:
IntIntMap.IntIntEntry, IntMap.IntEntry<Integer>, Map.Entry<Integer,Integer>
Enclosing class:
AbstractIntIntMap

public static class AbstractIntIntMap.ImmutableIntIntEntry
extends Object
implements IntIntMap.IntIntEntry


Constructor Summary
AbstractIntIntMap.ImmutableIntIntEntry(int key, int value)
           
 
Method Summary
 boolean equals(Object o)
           
 int getIntKey()
           
 int getIntValue()
           
 Integer getKey()
           
 Integer getValue()
           
 int hashCode()
           
 int setValue(int newValue)
           
 Integer setValue(Integer newValue)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractIntIntMap.ImmutableIntIntEntry

public AbstractIntIntMap.ImmutableIntIntEntry(int key,
                                              int value)
Method Detail

getKey

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

getIntKey

public int getIntKey()
Specified by:
getIntKey in interface IntMap.IntEntry<Integer>

getValue

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

getIntValue

public int getIntValue()
Specified by:
getIntValue in interface IntIntMap.IntIntEntry

setValue

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

setValue

public int setValue(int newValue)
Specified by:
setValue in interface IntIntMap.IntIntEntry

equals

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

hashCode

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

toString

public String toString()
Overrides:
toString in class Object