public static final class IntIntHashMap.Entry extends Object
Modifier and Type | Method and Description |
---|---|
int |
getKey()
Returns the key of this entry.
|
int |
getValue()
Returns the value of this entry.
|
void |
setValue(int value)
Sets the value for this entry.
|
String |
toString() |
StringBuilder |
toString(StringBuilder sb) |
public int getKey()
public int getValue()
public void setValue(int value)
public StringBuilder toString(StringBuilder sb)
sb
- if null, a new StringBuilder is created