com.threerings.tudey.util
Class CoordIntMap.CoordIntEntry
java.lang.Object
com.threerings.tudey.util.CoordIntMap.CoordIntEntry
- All Implemented Interfaces:
- Map.Entry<Coord,Integer>
- Enclosing class:
- CoordIntMap
public static class CoordIntMap.CoordIntEntry
- extends Object
- implements Map.Entry<Coord,Integer>
An entry in the map.
CoordIntMap.CoordIntEntry
public CoordIntMap.CoordIntEntry()
setIntValue
public int setIntValue(int value)
- Sets the value of the entry as an integer.
- Returns:
- the original value of the entry.
getIntValue
public int getIntValue()
- Returns the value of the entry as an integer.
getKey
public Coord getKey()
- Specified by:
getKey in interface Map.Entry<Coord,Integer>
getValue
public Integer getValue()
- Specified by:
getValue in interface Map.Entry<Coord,Integer>
setValue
public Integer setValue(Integer value)
- Specified by:
setValue in interface Map.Entry<Coord,Integer>
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object other)
- Specified by:
equals in interface Map.Entry<Coord,Integer>- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface Map.Entry<Coord,Integer>- Overrides:
hashCode in class Object
Copyright © 2011. All Rights Reserved.