| Modifier and Type | Field and Description |
|---|---|
| protected final HashMap | |
| protected final P |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Implements java. Removes all of the mappings from this map (optional operation). |
| public boolean | containsKey(@Nullable Object
key whose presence in this map is to be tested o)Implements java. Returns |
| public boolean | containsValue(@Nullable Object
value whose presence in this map is to be tested o)Implements java. Returns |
| public @NotNull Set | entrySet()
Implements java. Returns a |
| public I | get(@Nullable Object
the key whose associated value is to be returned o)Implements java. Returns the value to which the specified key is mapped,
or |
| public I | |
| public boolean | |
| public @NotNull Set | |
| public I | put(@NotNull Function<P, I>
key with which the specified value is to be associated factory, I value to be associated with the specified key i)Implements java. Associates the specified value with the specified key in this map (optional operation). |
| public void | putAll(@NotNull Map<? extends Function<P, I>, ? extends I>
mappings to be stored in this map map)Implements java. Copies all of the mappings from the specified map to this map (optional operation). |
| public I | remove(@Nullable Object
key whose mapping is to be removed from the map o)Implements java. Removes the mapping for a key from this map if it is present (optional operation). |
| public int | |
| public @NotNull Collection | values()
Implements java. Returns a |
| itemMap | back to summary |
|---|---|
| protected final HashMap<Function<P, I>, I> itemMap | |
| param | back to summary |
|---|---|
| protected final P param
| |
| ItemFactoryMap | back to summary |
|---|---|
| public ItemFactoryMap(P param) | |
| ItemFactoryMap | back to summary |
|---|---|
| public ItemFactoryMap(P param, int capacity) | |
| clear | back to summary |
|---|---|
| public void clear() Implements java. Doc from java. Removes all of the mappings from this map (optional operation). The map will be empty after this call returns.
| |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(@Nullable Object o) Implements java. Doc from java. Returns | |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(@Nullable Object o) Implements java. Doc from java. Returns | |
| entrySet | back to summary |
|---|---|
| public @NotNull Set Implements java. Doc from java. Returns a | |
| get | back to summary |
|---|---|
| public I get(@Nullable Object o) Implements java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
If this map permits null values, then a return value of
| |
| getItem | back to summary |
|---|---|
| public I getItem(Function<P, I> factory) | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements java. Doc from java. Returns
| |
| keySet | back to summary |
|---|---|
| public @NotNull Set Implements java. Doc from java. Returns a | |
| put | back to summary |
|---|---|
| public I put(@NotNull Function<P, I> factory, I i) Implements java. Doc from java. Associates the specified value with the specified key in this map
(optional operation). If the map previously contained a mapping for
the key, the old value is replaced by the specified value. (A map
| |
| putAll | back to summary |
|---|---|
| public void putAll(@NotNull Map<? extends Function<P, I>, ? extends I> map) Implements java. Doc from java. Copies all of the mappings from the specified map to this map
(optional operation). The effect of this call is equivalent to that
of calling | |
| remove | back to summary |
|---|---|
| public I remove(@Nullable Object o) Implements java. Doc from java. Removes the mapping for a key from this map if it is present
(optional operation). More formally, if this map contains a mapping
from key Returns the value to which this map previously associated the key,
or If this map permits null values, then a return value of
The map will not contain a mapping for the specified key once the call returns. | |
| size | back to summary |
|---|---|
| public int size() Implements java. Doc from java. Returns the number of key-value mappings in this map. If the
map contains more than
| |
| values | back to summary |
|---|---|
| public @NotNull Collection Implements java. Doc from java. Returns a
| |