|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.tudey.util.CoordIntMap.CoordIntEntry
public static class CoordIntMap.CoordIntEntry
An entry in the map.
| Field Summary | |
|---|---|
protected int |
_idx
The index of the value within the array. |
protected Coord |
_key
The coordinate key. |
protected int[] |
_values
The array in which the value is located. |
| Constructor Summary | |
|---|---|
CoordIntMap.CoordIntEntry()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
int |
getIntValue()
Returns the value of the entry as an integer. |
Coord |
getKey()
|
Integer |
getValue()
|
int |
hashCode()
|
int |
setIntValue(int value)
Sets the value of the entry as an integer. |
Integer |
setValue(Integer value)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Coord _key
protected int[] _values
protected int _idx
| Constructor Detail |
|---|
public CoordIntMap.CoordIntEntry()
| Method Detail |
|---|
public int setIntValue(int value)
public int getIntValue()
public Coord getKey()
getKey in interface Map.Entry<Coord,Integer>public Integer getValue()
getValue in interface Map.Entry<Coord,Integer>public Integer setValue(Integer value)
setValue in interface Map.Entry<Coord,Integer>public String toString()
toString in class Objectpublic boolean equals(Object other)
equals in interface Map.Entry<Coord,Integer>equals in class Objectpublic int hashCode()
hashCode in interface Map.Entry<Coord,Integer>hashCode in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||