Class EntryConverterByKey<K,L,V>
- Type Parameters:
K- The source key type of the entryL- The target key type that is converted toV- The value type of the entry
- All Implemented Interfaces:
com.google.common.base.Function<Map.Entry<K,,V>, Map.Entry<L, V>> Function<Map.Entry<K,V>, Map.Entry<L, V>>
public class EntryConverterByKey<K,L,V>
extends com.google.common.base.Converter<Map.Entry<K,V>,Map.Entry<L,V>>
An extension of
Converter specifically for converting Map.Entry objects.- Author:
- raven
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconverterByKey(com.google.common.base.Converter<K, L> converter) converterByValue(com.google.common.base.Converter<V, W> converter) doBackward(Map.Entry<L, V> b) static <K,L, V> Map.Entry<L, V> transformKey(Map.Entry<K, V> e, Function<? super K, ? extends L> fn) static <K,V, W> Map.Entry<K, W> transformValue(Map.Entry<K, V> e, com.google.common.base.Converter<V, W> converter) Methods inherited from class com.google.common.base.Converter
andThen, apply, convert, convertAll, equals, from, identity, reverse
-
Field Details
-
converter
-
-
Constructor Details
-
EntryConverterByKey
-
-
Method Details