public static class IntHashMap.Entry
extends java.lang.Object
IntHashMap
entry.Modifier | Constructor and Description |
---|---|
protected |
Entry()
Default constructor (allows sub-classing).
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that)
Indicates if this entry is considered equals to the specified entry (default
object equality to ensure symetry)
|
int |
getKey()
Returns the key for this entry.
|
IntHashMap.Entry |
getNextEntry()
Returns the entry after this one.
|
IntHashMap.Entry |
getPreviousEntry()
Returns the entry before this one.
|
java.lang.Object |
getValue()
Returns the value for this entry.
|
int |
hashCode()
Returns the hash code for this entry.
|
java.lang.Object |
setValue(java.lang.Object value)
Sets the value for this entry.
|
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
that
- the object to test for equality.true if both entry have equal keys and values.
false otherwise.
public final int getKey()
public IntHashMap.Entry getNextEntry()
public IntHashMap.Entry getPreviousEntry()
public final java.lang.Object getValue()
public int hashCode()
hashCode
in class java.lang.Object
public final java.lang.Object setValue(java.lang.Object value)
value
- the new value.