Map
in
Maps an entry.
Such a mapping can be created with Entries::mapEntry().
Tags
Table of Contents
Methods
- asConsumer() : Consumer<K, V>
- Views the Map as a consumer (eg: ignore its result).
- map() : Entry<MK, MV>
- Maps an entry to a new one.
Methods
asConsumer()
Views the Map as a consumer (eg: ignore its result).
public
asConsumer() : Consumer<K, V>
Return values
Consumer<K, V>map()
Maps an entry to a new one.
public
map(Configuration<K, V> $config, K $key, V $value) : Entry<MK, MV>
Parameters
- $config : Configuration<K, V>
-
The configuration where the entry belongs to.
- $key : K
-
The key to map.
- $value : V
-
The value to map.
Return values
Entry<MK, MV> —The produced entry.