| Modifier and Type | Field and Description |
|---|---|
| protected final @NotNull HashMap | |
| protected final @NotNull 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(Object
value whose presence in this map is to be tested o)Implements java. Returns |
| public @NotNull Set | entrySet()
Implements java. Returns a |
| public @Nullable Function | 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 @Nullable Function | put(K
key with which the specified value is to be associated k, @NotNull Function<P, I> value to be associated with the specified key factory)Implements java. Associates the specified value with the specified key in this map (optional operation). |
| public void | putAll(@NotNull Map<? extends K, ? extends Function<P, 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 @Nullable Function | 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 |
| factoryMap | back to summary |
|---|---|
| protected final @NotNull HashMap<K, Function<P, I>> factoryMap
| |
| itemMap | back to summary |
|---|---|
| protected final @NotNull HashMap<K, I> itemMap
| |
| param | back to summary |
|---|---|
| protected final P param
| |
| KeyedItemFactoryMap | back to summary |
|---|---|
| public KeyedItemFactoryMap(P param) | |
| KeyedItemFactoryMap | back to summary |
|---|---|
| public KeyedItemFactoryMap(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(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 @Nullable Function 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(K key)
| |
| 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 @Nullable Function 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 K, ? extends Function<P, 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 @Nullable Function 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
| |