(package private) static <K,V1,V2> Function<java.util.Map.Entry<K,V1>,java.util.Map.Entry<K,V2>> |
Maps.asEntryToEntryFunction(Maps.EntryTransformer<? super K,? super V1,V2> transformer) |
Views an entry transformer as a function from entries to entries.
|
(package private) static <K,V1,V2> Function<java.util.Map.Entry<K,V1>,V2> |
Maps.asEntryToValueFunction(Maps.EntryTransformer<? super K,? super V1,V2> transformer) |
Views an entry transformer as a function from Entry to values.
|
(package private) static <K,V1,V2> Function<V1,V2> |
Maps.asValueToValueFunction(Maps.EntryTransformer<? super K,V1,V2> transformer,
K key) |
|
static <K,V1,V2> java.util.Map<K,V2> |
Maps.transformEntries(java.util.Map<K,V1> fromMap,
Maps.EntryTransformer<? super K,? super V1,V2> transformer) |
Returns a view of a map whose values are derived from the original map's entries.
|
static <K,V1,V2> java.util.NavigableMap<K,V2> |
Maps.transformEntries(java.util.NavigableMap<K,V1> fromMap,
Maps.EntryTransformer<? super K,? super V1,V2> transformer) |
Returns a view of a navigable map whose values are derived from the original navigable map's
entries.
|
static <K,V1,V2> java.util.SortedMap<K,V2> |
Maps.transformEntries(java.util.SortedMap<K,V1> fromMap,
Maps.EntryTransformer<? super K,? super V1,V2> transformer) |
Returns a view of a sorted map whose values are derived from the original sorted map's entries.
|
static <K,V1,V2> ListMultimap<K,V2> |
Multimaps.transformEntries(ListMultimap<K,V1> fromMap,
Maps.EntryTransformer<? super K,? super V1,V2> transformer) |
Returns a view of a ListMultimap whose values are derived from the original multimap's
entries.
|
static <K,V1,V2> Multimap<K,V2> |
Multimaps.transformEntries(Multimap<K,V1> fromMap,
Maps.EntryTransformer<? super K,? super V1,V2> transformer) |
Returns a view of a multimap whose values are derived from the original multimap's entries.
|
(package private) static <V2,K,V1> java.util.Map.Entry<K,V2> |
Maps.transformEntry(Maps.EntryTransformer<? super K,? super V1,V2> transformer,
java.util.Map.Entry<K,V1> entry) |
Returns a view of an entry transformed by the specified transformer.
|