V
- The type of the Value components in the Map.Entry objects to be transformedS2
- The type of the Key component in the transformed Entry objectsS1
- The type of the Key component in the Entryobjects to be transformedpublic final class MapEntryKeyTransformer<S1,S2,V> extends Transformer<java.util.Map.Entry<S1,V>,java.util.Map.Entry<S2,V>>
Constructor and Description |
---|
MapEntryKeyTransformer(Transformer<S1,S2> transformer)
Creates the MapEntryKeyTransformer
|
Modifier and Type | Method and Description |
---|---|
java.util.Map.Entry<S2,V> |
transform(java.util.Map.Entry<S1,V> from)
Returns an object of class <S2> that is in some sense equivalent to the given from object
|
public MapEntryKeyTransformer(Transformer<S1,S2> transformer)
transformer
- The transformer for transforming the Key componentspublic java.util.Map.Entry<S2,V> transform(java.util.Map.Entry<S1,V> from)
Transformer