Constructor and Description |
---|
AbstractMapEntry() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Indicates whether an object equals this entry, following the behavior
specified in
Map.Entry.equals(java.lang.Object) . |
abstract K |
getKey() |
abstract V |
getValue() |
int |
hashCode()
Return this entry's hash code, following the behavior specified in
Map.Entry.hashCode() . |
V |
setValue(V value) |
String |
toString()
Returns a string representation of the form
{key}={value} . |
public V setValue(V value)
This implementation throws an UnsupportedOperationException
.
Override this method to support mutable map entries.
public boolean equals(@Nullable Object object)
Map.Entry.equals(java.lang.Object)
.public int hashCode()
Map.Entry.hashCode()
.Copyright © 2006-2012 Google, Inc.. All Rights Reserved.