| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Redeclares java. Removes all of the mappings from this map (optional operation). |
| public V | put(K key, V value)
Redeclares java. Associates the specified value with the specified key in this map (optional operation). |
| public void | putAll(Map<? extends K, ? extends V> map)
Redeclares java. Copies all of the mappings from the specified map to this map (optional operation). |
| public default void | putAllMapIterable(MapIterable<? extends K, ? extends V> mapIterable)
Overrides default org.
|
| public V | remove(Object key)
Redeclares java. Removes the mapping for a key from this map if it is present (optional operation). |
| public boolean | removeAllKeys(Set<? extends K> keys)
Redeclares as abstract: org. Remove entries from the map at the specified |
| public boolean | removeIf(Predicate2<? super K, ? super V> predicate)
Redeclares as abstract: org. Remove an entry from the map if the |
| public V | removeKey(K key)
Redeclares org. Remove an entry from the map at the specified |
| public FixedSizeMap | tap(Procedure<? super V> procedure)
Redeclares org. Executes the Procedure for each value of the map and returns |
| public default FixedSizeMap | withMap(Map<? extends K, ? extends V> map)
Overrides default org. Similar to |
| public default FixedSizeMap | withMapIterable(MapIterable<? extends K, ? extends V> mapIterable)
Overrides default org.
|
| clear | back to summary |
|---|---|
| public void clear() Redeclares java. Doc from java. Removes all of the mappings from this map (optional operation). The map will be empty after this call returns.
| |
| put | back to summary |
|---|---|
| public V put(K key, V value) Redeclares 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(Map<? extends K, ? extends V> map) Redeclares 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
| |
| putAllMapIterable | back to summary |
|---|---|
| public default void putAllMapIterable(MapIterable<? extends K, ? extends V> mapIterable) Overrides default org.
| |
| remove | back to summary |
|---|---|
| public V remove(Object key) Redeclares 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.
| |
| removeAllKeys | back to summary |
|---|---|
| public boolean removeAllKeys(Set<? extends K> keys) Redeclares as abstract: org. Doc from org. Remove entries from the map at the specified
| |
| removeIf | back to summary |
|---|---|
| public boolean removeIf(Predicate2<? super K, ? super V> predicate) Redeclares as abstract: org. Doc from org. Remove an entry from the map if the
| |
| removeKey | back to summary |
|---|---|
| public V removeKey(K key) Redeclares org. Doc from org. Remove an entry from the map at the specified
| |
| tap | back to summary |
|---|---|
| public FixedSizeMap Redeclares org. Doc from org. Executes the Procedure for each value of the map and returns return peopleByCity.tap(person -> LOGGER.info(person.getName()));
| |
| withMap | back to summary |
|---|---|
| public default FixedSizeMap Overrides default org. Doc from org. Similar to
| |
| withMapIterable | back to summary |
|---|---|
| public default FixedSizeMap Overrides default org.
| |