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>
public class IndexedItemBitSetMap<K,M> extends IndexedItemSetMapBase<K,BitSet,M>
-
-
Field Summary
-
Fields inherited from class com.vladsch.flexmark.util.collection.IndexedItemSetMapBase
bag
-
-
Constructor Summary
Constructors Constructor Description IndexedItemBitSetMap(@NotNull Function<M,K> computable)IndexedItemBitSetMap(@NotNull Function<M,K> computable, int capacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddSetItem(@NotNull BitSet set, int item)booleancontainsSetItem(@NotNull BitSet set, int item)@NotNull Function<M,K>getComputable()KmapKey(M key)@NotNull BitSetnewSet()booleanremoveSetItem(@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
-
-
-
-
Method Detail
-
mapKey
@NotNull public K mapKey(@NotNull M key)
- Specified by:
mapKeyin interfaceIndexedItemSetMap<K,BitSet,M>- Specified by:
mapKeyin classIndexedItemSetMapBase<K,BitSet,M>
-
newSet
@NotNull public @NotNull BitSet newSet()
- Specified by:
newSetin interfaceIndexedItemSetMap<K,BitSet,M>- Specified by:
newSetin classIndexedItemSetMapBase<K,BitSet,M>
-
addSetItem
public boolean addSetItem(@NotNull @NotNull BitSet set, int item)- Specified by:
addSetItemin interfaceIndexedItemSetMap<K,BitSet,M>- Specified by:
addSetItemin classIndexedItemSetMapBase<K,BitSet,M>
-
removeSetItem
public boolean removeSetItem(@NotNull @NotNull BitSet set, int item)- Specified by:
removeSetItemin interfaceIndexedItemSetMap<K,BitSet,M>- Specified by:
removeSetItemin classIndexedItemSetMapBase<K,BitSet,M>
-
containsSetItem
public boolean containsSetItem(@NotNull @NotNull BitSet set, int item)- Specified by:
containsSetItemin interfaceIndexedItemSetMap<K,BitSet,M>- Specified by:
containsSetItemin classIndexedItemSetMapBase<K,BitSet,M>
-
-