public class Section extends LinkedHashMap<String,String>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(Object obj) |
String |
getByDefaultValue(String key,
String defaultVal)
带默认值的返回方法
|
String |
getName()
获取节点名称
|
int |
hashCode() |
void |
setName(String name)
设置节点名称
|
String |
toString() |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public Section()
public Section(String name)
name
- 节点名称public String getName()
public void setName(String name)
name
- 节点名称public String getByDefaultValue(String key, String defaultVal)
key
- 键defaultVal
- 默认值public String toString()
toString
在类中 AbstractMap<String,String>
public int hashCode()