Modifier and Type | Field and Description |
---|---|
private int |
index |
private Flat3Map<K,V> |
parent |
private boolean |
removed |
Constructor and Description |
---|
FlatMapEntry(Flat3Map<K,V> parent,
int index) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
K |
getKey() |
V |
getValue() |
int |
hashCode() |
(package private) void |
setRemoved(boolean flag)
Used by the iterator that created this entry to indicate that
Iterator.remove() has been called. |
V |
setValue(V value) |
java.lang.String |
toString() |
void setRemoved(boolean flag)
Iterator.remove()
has been called.
As a consequence, all subsequent call to getKey()
,
setValue(Object)
and getValue()
will fail.
flag
- public boolean equals(java.lang.Object obj)
public int hashCode()
public java.lang.String toString()
toString
in class java.lang.Object