Class Flat3Map.FlatMapEntry<K,V>
- java.lang.Object
-
- org.apache.commons.collections4.map.Flat3Map.FlatMapEntry<K,V>
-
-
Constructor Summary
Constructors Constructor Description FlatMapEntry(Flat3Map<K,V> parent, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 thatIterator.remove()
has been called.V
setValue(V value)
java.lang.String
toString()
-
-
-
Method Detail
-
setRemoved
void setRemoved(boolean flag)
Used by the iterator that created this entry to indicate thatIterator.remove()
has been called.As a consequence, all subsequent call to
getKey()
,setValue(Object)
andgetValue()
will fail.- Parameters:
flag
- the new value of the removed flag
-
equals
public boolean equals(java.lang.Object obj)
-
hashCode
public int hashCode()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-