Package com.strobel.componentmodel
Class ArrayKeyMap
java.lang.Object
com.strobel.componentmodel.ArrayKeyMap
- All Implemented Interfaces:
FrugalKeyMap
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int[]
private final Object[]
(package private) static final int
Fields inherited from interface com.strobel.componentmodel.FrugalKeyMap
EMPTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal <V> V
final boolean
isEmpty()
final <V> FrugalKeyMap
final <V> FrugalKeyMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.strobel.componentmodel.FrugalKeyMap
toString
-
Field Details
-
ARRAY_THRESHOLD
static final int ARRAY_THRESHOLD- See Also:
-
_keyIndexes
private final int[] _keyIndexes -
_values
-
-
Constructor Details
-
ArrayKeyMap
ArrayKeyMap(int[] keyIndexes, Object[] values)
-
-
Method Details
-
plus
- Specified by:
plus
in interfaceFrugalKeyMap
-
minus
- Specified by:
minus
in interfaceFrugalKeyMap
-
get
- Specified by:
get
in interfaceFrugalKeyMap
-
isEmpty
public final boolean isEmpty()- Specified by:
isEmpty
in interfaceFrugalKeyMap
-