java.util.Map.Entry
.
Does not implement java.util.Map.Entry#setValue
, that is done by users of the class.
Modifier and Type | Field and Description |
---|---|
protected final TypeK | _key
Strongly typed key |
protected TypeV | _val
Strongly typed value |
Access | Constructor and Description |
---|---|
public | |
public |
Modifier and Type | Method and Description |
---|---|
private static boolean | |
public boolean | equals(final Object
object to be compared for equality with this map entry o)Overrides java. Implements java. |
public TypeK | |
public TypeV | |
public int | hashCode()
Overrides java. Implements java. "key.hashCode() ^ val.hashCode()"
|
public String |
_key | back to summary |
---|---|
protected final TypeK _key Strongly typed key |
_val | back to summary |
---|---|
protected TypeV _val Strongly typed value |
AbstractEntry | back to summary |
---|---|
public AbstractEntry(final TypeK key, final TypeV val) |
AbstractEntry | back to summary |
---|---|
public AbstractEntry(final Map. |
eq | back to summary |
---|---|
private static boolean eq(final Object o1, final Object o2) |
equals | back to summary |
---|---|
public boolean equals(final Object o) Overrides java. Implements java. Equal if the underlying key & value are equal
|
getKey | back to summary |
---|---|
public TypeK getKey() Implements java. Return key
|
getValue | back to summary |
---|---|
public TypeV getValue() Implements java. Return val
|
hashCode | back to summary |
---|---|
public int hashCode() Overrides java. Implements java. Compute
|
toString | back to summary |
---|---|
public String toString() Overrides java. Return "key=val" string
|