Package org.plumelib.util
Class ArrayMap.Entry
java.lang.Object
org.plumelib.util.ArrayMap.Entry
- All Implemented Interfaces:
Map.Entry<K,V>
An entrySet() entry. Tracks the containing list and the index.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) @org.checkerframework.checker.index.qual.NonNegative intThe index. -
Constructor Summary
ConstructorsConstructorDescriptionEntry(@org.checkerframework.checker.index.qual.NonNegative int index) Creates a new map entry. -
Method Summary
-
Field Details
-
index
@org.checkerframework.checker.index.qual.NonNegative int indexThe index.
-
-
Constructor Details
-
Entry
@Pure public Entry(@org.checkerframework.checker.index.qual.NonNegative int index) Creates a new map entry.- Parameters:
index- the index
-
-
Method Details
-
getKey
-
getValue
-
setValue
-
theArrayMap
Returns the ArrayMap associated with this entry.- Returns:
- the ArrayMap associated with this entry
-
equals
-
hashCode
@Pure public int hashCode()
-