public class LinkedHashMapWriter<V> extends LinkedHashMap<String,V> implements MapWriter
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>MapWriter.EntryWriter| Constructor and Description | 
|---|
| LinkedHashMapWriter() | 
| LinkedHashMapWriter(int initialCapacity) | 
| LinkedHashMapWriter(Map<? extends String,? extends V> m) | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | _get(List<String> path,
    Object def)Get a child object value using json path | 
| Object | _get(String path,
    Object def)Get a child object value using json path. | 
| String | toString() | 
| void | writeMap(MapWriter.EntryWriter ew) | 
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCodefinalize, getClass, notify, notifyAll, wait, wait, wait_forEachEntry, _forEachEntry, _forEachEntry, _getStr, _getStr, _sizecompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic LinkedHashMapWriter(int initialCapacity)
public LinkedHashMapWriter()
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap in interface MapWriterIOExceptionpublic Object _get(String path, Object def)
NavigableObject_get in interface NavigableObjectpath - the full path to that object such as a/b/c[4]/d etcdef - the defaultpublic Object _get(List<String> path, Object def)
NavigableObject_get in interface NavigableObjectpath - the full path to that object such as ["a","b","c[4]","d"] etcdef - the defaultpublic String toString()
toString in class AbstractMap<String,V>Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.