public abstract class IndexedItemSetMapBase<K,S,M> extends Object implements IndexedItemSetMap<K,S,M>
| Constructor and Description |
|---|
IndexedItemSetMapBase() |
IndexedItemSetMapBase(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addItem(M key,
int item) |
abstract boolean |
addSetItem(S s,
int item) |
void |
clear() |
boolean |
containsItem(M key,
int item) |
boolean |
containsKey(@Nullable Object o) |
abstract boolean |
containsSetItem(S s,
int item) |
boolean |
containsValue(@Nullable Object o) |
@NotNull Set<Map.Entry<K,S>> |
entrySet() |
S |
get(@Nullable Object o) |
boolean |
isEmpty() |
@NotNull Set<K> |
keySet() |
abstract K |
mapKey(M key) |
abstract S |
newSet() |
S |
put(K k,
S vs) |
void |
putAll(@NotNull Map<? extends K,? extends S> map) |
S |
remove(@Nullable Object o) |
boolean |
removeItem(M key,
int item) |
abstract boolean |
removeSetItem(S s,
int item) |
int |
size() |
@NotNull Collection<S> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic IndexedItemSetMapBase()
public IndexedItemSetMapBase(int capacity)
@NotNull public abstract K mapKey(@NotNull M key)
mapKey in interface IndexedItemSetMap<K,S,M>@NotNull public abstract S newSet()
newSet in interface IndexedItemSetMap<K,S,M>public abstract boolean addSetItem(@NotNull
S s,
int item)
addSetItem in interface IndexedItemSetMap<K,S,M>public abstract boolean removeSetItem(@NotNull
S s,
int item)
removeSetItem in interface IndexedItemSetMap<K,S,M>public abstract boolean containsSetItem(@NotNull
S s,
int item)
containsSetItem in interface IndexedItemSetMap<K,S,M>public boolean addItem(@NotNull
M key,
int item)
addItem in interface IndexedItemSetMap<K,S,M>public boolean removeItem(@NotNull
M key,
int item)
removeItem in interface IndexedItemSetMap<K,S,M>public boolean containsItem(@NotNull
M key,
int item)
containsItem in interface IndexedItemSetMap<K,S,M>public boolean containsKey(@Nullable
@Nullable Object o)
containsKey in interface Map<K,S>public boolean containsValue(@Nullable
@Nullable Object o)
containsValue in interface Map<K,S>Copyright © 2020. All rights reserved.