com.google.common.collect
Interface Maps.EntryTransformer<K,V1,V2>
- Type Parameters:
K
- the key type of the input and output entriesV1
- the value type of the input entryV2
- the value type of the output entry
- Enclosing class:
- Maps
@Beta
public static interface Maps.EntryTransformer<K,V1,V2>
A transformation of the value of a key-value pair, using both key and value
as inputs. To apply the transformation to a map, use
Maps.transformEntries(Map, EntryTransformer)
.
- Since:
- 7
transformEntry
V2 transformEntry(@Nullable
K key,
@Nullable
V1 value)