A - Key typeB - Value typepublic class GenderedMapConverter<A,B> extends Object implements MapConverter
However, this converter will only work in one direction between two map types.
| Constructor and Description |
|---|
GenderedMapConverter(@NotNull Consumer<A> keyConsumer,
@NotNull Consumer<B> valueConsumer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply() |
List<String> |
getDeserialisedKeys() |
List<String> |
getDeserialisedValues() |
@NotNull List<A> |
getKeys() |
@NotNull List<B> |
getValues() |
void |
input(A[] as,
B[] bs) |
public boolean apply()
public List<String> getDeserialisedKeys()
getDeserialisedKeys in interface MapConverter@NotNull public @NotNull List<A> getKeys()
getKeys in interface MapConverterpublic List<String> getDeserialisedValues()
getDeserialisedValues in interface MapConverter@NotNull public @NotNull List<B> getValues()
getValues in interface MapConverterCopyright © 2020. All rights reserved.