Class JsonifyLinkedHashMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<K,V>
com.github.wnameless.json.flattener.JsonifyLinkedHashMap<K,V>
- Type Parameters:
K- the type of keysV- the type of values
- All Implemented Interfaces:
Serializable, Cloneable, Map<K,V>, SequencedMap<K, V>
JsonifyLinkedHashMap is simple a LinkedHashMap but with an override jsonify toString
method.- Author:
- Wei-Ming Wu
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, newLinkedHashMap, putFirst, putLast, removeEldestEntry, replaceAll, reversed, sequencedEntrySet, sequencedKeySet, sequencedValues, valuesMethods inherited from class HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from class AbstractMap
equals, hashCodeMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from interface SequencedMap
firstEntry, lastEntry, pollFirstEntry, pollLastEntry
-
Constructor Details
-
JsonifyLinkedHashMap
public JsonifyLinkedHashMap() -
JsonifyLinkedHashMap
-
-
Method Details
-
setTranslator
public void setTranslator(org.apache.commons.text.translate.CharSequenceTranslator translator) -
toString
-
toString
- Overrides:
toStringin classAbstractMap<K,V>
-