Class IndexedItemSetMapBase<K,S,M>
java.lang.Object
com.vladsch.flexmark.util.collection.IndexedItemSetMapBase<K,S,M>
- All Implemented Interfaces:
IndexedItemSetMap<K,,S, M> Map<K,S>
- Direct Known Subclasses:
IndexedItemBitSetMap
public abstract class IndexedItemSetMapBase<K,S,M>
extends Object
implements IndexedItemSetMap<K,S,M>
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract booleanaddSetItem(S s, int item) voidclear()booleancontainsItem(M key, int item) booleancontainsKey(@Nullable Object o) abstract booleancontainsSetItem(S s, int item) booleancontainsValue(@Nullable Object o) entrySet()booleanisEmpty()keySet()abstract Kabstract SnewSet()voidbooleanremoveItem(M key, int item) abstract booleanremoveSetItem(S s, int item) intsize()@NotNull Collection<S> values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
bag
-
-
Constructor Details
-
IndexedItemSetMapBase
public IndexedItemSetMapBase() -
IndexedItemSetMapBase
public IndexedItemSetMapBase(int capacity)
-
-
Method Details
-
mapKey
- Specified by:
mapKeyin interfaceIndexedItemSetMap<K,S, M>
-
newSet
- Specified by:
newSetin interfaceIndexedItemSetMap<K,S, M>
-
addSetItem
- Specified by:
addSetItemin interfaceIndexedItemSetMap<K,S, M>
-
removeSetItem
- Specified by:
removeSetItemin interfaceIndexedItemSetMap<K,S, M>
-
containsSetItem
- Specified by:
containsSetItemin interfaceIndexedItemSetMap<K,S, M>
-
addItem
- Specified by:
addItemin interfaceIndexedItemSetMap<K,S, M>
-
removeItem
- Specified by:
removeItemin interfaceIndexedItemSetMap<K,S, M>
-
containsItem
- Specified by:
containsItemin interfaceIndexedItemSetMap<K,S, M>
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<K,S>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,S>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-