public class MapKeyValueConverter<KT,VT,KS,VS> extends java.lang.Object implements Function1<java.util.Map.Entry<KT,VT>,java.util.Map.Entry<KS,VS>>
Constructor and Description |
---|
MapKeyValueConverter(java.util.function.Function<KS,KT> keyConverter,
java.util.function.Function<VS,VT> valueConverter)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map.Entry<KT,VT> |
apply(java.util.Map.Entry<KS,VS> object)
Convert an object to another type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
after, andThen, applyNonNull, applyOrDefault, fallback, fallback, from, from, nonFragile, nonFragile, nonFragileX, partial, withFallback
public MapKeyValueConverter(@NotNull java.util.function.Function<KS,KT> keyConverter, @NotNull java.util.function.Function<VS,VT> valueConverter)
keyConverter
- the key converter, used for changing the keyvalueConverter
- the value converter, used for changing the value