Package com.strobel.componentmodel
Class SingleKeyMap<V>
java.lang.Object
com.strobel.componentmodel.SingleKeyMap<V>
- All Implemented Interfaces:
FrugalKeyMap
-
Field Summary
FieldsFields 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
-
_keyIndex
private final int _keyIndex -
_value
-
-
Constructor Details
-
SingleKeyMap
SingleKeyMap(int keyIndex, V value)
-
-
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
-