public class LinkedHashMapWriter<V> extends LinkedHashMap<String,V> implements MapWriter
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>MapWriter.EntryWriter| 构造器和说明 |
|---|
LinkedHashMapWriter() |
LinkedHashMapWriter(int initialCapacity) |
LinkedHashMapWriter(Map<? extends String,? extends V> m) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, hashCode_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 在接口中 MapWriterIOExceptionpublic Object _get(String path, Object def)
NavigableObject_get 在接口中 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 在接口中 NavigableObjectpath - the full path to that object such as ["a","b","c[4]","d"] etcdef - the defaultpublic String toString()
toString 在类中 AbstractMap<String,V>Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.