public static class Collections.UnmodEntry extends Object implements Map.Entry
Constructor and Description |
---|
Collections.UnmodEntry(Map.Entry entry) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Default object equality (is identity).
|
Object |
getKey() |
Object |
getValue() |
int |
hashCode()
The (default) object hashcode: for transient objects this is simply the
address of the instance in memory, for persistent objects it is the
address at which the instance was first created (maybe in a previous
activation of the VM).
|
Object |
setValue(Object value) |
public Collections.UnmodEntry(Map.Entry entry)
public boolean equals(Object obj)
Object
public int hashCode()
Object
public Object setValue(Object value) throws UnsupportedOperationException, ClassCastException, IllegalArgumentException, NullPointerException
setValue
in interface Map.Entry
UnsupportedOperationException
ClassCastException
IllegalArgumentException
NullPointerException