public abstract static class MapEntryDialog.AbstractEntryConverter<K,V> extends java.lang.Object implements MapEntryDialog.EntryConverter<K,V>
Modifier | Constructor and Description |
---|---|
protected |
AbstractEntryConverter() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
keyToText(K key) |
protected abstract K |
textToKey(K original,
java.lang.String text) |
protected abstract V |
textToValue(V original,
java.lang.String text) |
java.util.Map.Entry<K,V> |
toEntry(java.util.Map.Entry<K,V> original,
java.lang.String key,
java.lang.String value) |
java.util.Map.Entry<java.lang.String,java.lang.String> |
toText(K key,
V value) |
protected abstract java.lang.String |
valueToText(V value) |
public java.util.Map.Entry<K,V> toEntry(java.util.Map.Entry<K,V> original, java.lang.String key, java.lang.String value)
toEntry
in interface MapEntryDialog.EntryConverter<K,V>
public java.util.Map.Entry<java.lang.String,java.lang.String> toText(K key, V value)
toText
in interface MapEntryDialog.EntryConverter<K,V>
protected abstract java.lang.String keyToText(@Nullable K key)
protected abstract java.lang.String valueToText(@Nullable V value)