public class XMap extends LinkedHashMap<String,String>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 限定符和类型 | 方法和说明 |
|---|---|
static XMap |
from(List<String> args) |
static XMap |
from(String[] args) |
String |
get(Object key)
不区分大小写
|
double |
getDouble(String key) |
int |
getInt(String key) |
long |
getLong(String key) |
String |
getOrDefault(Object key,
String defaultValue)
不区分大小写
|
clear, containsValue, entrySet, forEach, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic String getOrDefault(Object key, String defaultValue)
getOrDefault 在接口中 Map<String,String>getOrDefault 在类中 LinkedHashMap<String,String>public int getInt(String key)
public long getLong(String key)
public double getDouble(String key)
Copyright © 2019. All rights reserved.