| 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(Object o) |
boolean |
containsValue(Object o) |
Set<Map.Entry<Function<P,I>,I>> |
entrySet() |
I |
get(Object o) |
I |
getItem(Function<P,I> factory) |
boolean |
isEmpty() |
Set<Function<P,I>> |
keySet() |
I |
put(Function<P,I> factory,
I i) |
void |
putAll(Map<? extends Function<P,I>,? extends I> map) |
I |
remove(Object o) |
int |
size() |
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, replaceAllpublic ItemFactoryMap(P param)
public ItemFactoryMap(P param, int capacity)
Copyright © 2019. All rights reserved.