| Modifier and Type | Field and Description |
|---|---|
protected HashMap<Function<P,I>,I> |
itemMap |
protected P |
param |
| Constructor and Description |
|---|
ItemFactoryMap(P param) |
ItemFactoryMap(P param,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(@Nullable Object o) |
boolean |
containsValue(@Nullable Object o) |
@NotNull Set<Map.Entry<Function<P,I>,I>> |
entrySet() |
I |
get(@Nullable Object o) |
I |
getItem(Function<P,I> factory) |
boolean |
isEmpty() |
@NotNull Set<Function<P,I>> |
keySet() |
I |
put(@NotNull Function<P,I> factory,
I i) |
void |
putAll(@NotNull Map<? extends Function<P,I>,? extends I> map) |
I |
remove(@Nullable Object o) |
int |
size() |
@NotNull Collection<I> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll@NotNull protected final P param
public ItemFactoryMap(@NotNull
P param)
public ItemFactoryMap(@NotNull
P param,
int capacity)
public boolean containsKey(@Nullable
@Nullable Object o)
public boolean containsValue(@Nullable
@Nullable Object o)
@NotNull public @NotNull Collection<I> values()
Copyright © 2020. All rights reserved.