Class IndexedItemBitSetMap<K,M>
java.lang.Object
com.vladsch.flexmark.util.collection.IndexedItemSetMapBase<K,BitSet,M>
com.vladsch.flexmark.util.collection.IndexedItemBitSetMap<K,M>
- All Implemented Interfaces:
IndexedItemSetMap<K,
,BitSet, M> Map<K,
BitSet>
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from class com.vladsch.flexmark.util.collection.IndexedItemSetMapBase
bag
-
Constructor Summary
ConstructorsConstructorDescriptionIndexedItemBitSetMap
(@NotNull Function<M, K> computable) IndexedItemBitSetMap
(@NotNull Function<M, K> computable, int capacity) -
Method Summary
Modifier and TypeMethodDescriptionboolean
addSetItem
(@NotNull BitSet set, int item) boolean
containsSetItem
(@NotNull BitSet set, int item) @NotNull BitSet
newSet()
boolean
removeSetItem
(@NotNull BitSet set, int item) Methods inherited from class com.vladsch.flexmark.util.collection.IndexedItemSetMapBase
addItem, clear, containsItem, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, removeItem, size, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
computable
-
-
Constructor Details
-
IndexedItemBitSetMap
-
IndexedItemBitSetMap
-
-
Method Details
-
getComputable
-
mapKey
- Specified by:
mapKey
in interfaceIndexedItemSetMap<K,
BitSet, M> - Specified by:
mapKey
in classIndexedItemSetMapBase<K,
BitSet, M>
-
newSet
- Specified by:
newSet
in interfaceIndexedItemSetMap<K,
BitSet, M> - Specified by:
newSet
in classIndexedItemSetMapBase<K,
BitSet, M>
-
addSetItem
- Specified by:
addSetItem
in interfaceIndexedItemSetMap<K,
BitSet, M> - Specified by:
addSetItem
in classIndexedItemSetMapBase<K,
BitSet, M>
-
removeSetItem
- Specified by:
removeSetItem
in interfaceIndexedItemSetMap<K,
BitSet, M> - Specified by:
removeSetItem
in classIndexedItemSetMapBase<K,
BitSet, M>
-
containsSetItem
- Specified by:
containsSetItem
in interfaceIndexedItemSetMap<K,
BitSet, M> - Specified by:
containsSetItem
in classIndexedItemSetMapBase<K,
BitSet, M>
-