Class SingleKeyMap<V>
java.lang.Object
com.strobel.componentmodel.SingleKeyMap<V>
- All Implemented Interfaces:
FrugalKeyMap
-
Field Summary
FieldsFields inherited from interface FrugalKeyMap
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal <V> Vfinal booleanisEmpty()final <V> FrugalKeyMapfinal <V> FrugalKeyMapMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FrugalKeyMap
toString
-
Field Details
-
_keyIndex
private final int _keyIndex -
_value
-
-
Constructor Details
-
SingleKeyMap
SingleKeyMap(int keyIndex, V value)
-
-
Method Details
-
plus
- Specified by:
plusin interfaceFrugalKeyMap
-
minus
- Specified by:
minusin interfaceFrugalKeyMap
-
get
- Specified by:
getin interfaceFrugalKeyMap
-
isEmpty
public final boolean isEmpty()- Specified by:
isEmptyin interfaceFrugalKeyMap
-