@Deprecated public class JMap extends HashMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 构造器和说明 |
|---|
JMap()
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static JMap |
by(Object key,
Object value)
已过时。
|
static JMap |
create()
已过时。
|
static JMap |
create(Object key,
Object value)
已过时。
|
JMap |
delete(Object key)
已过时。
|
boolean |
equals(Object jMap)
已过时。
|
static JMap |
fail()
已过时。
|
static JMap |
fail(Object key,
Object value)
已过时。
|
<T> T |
getAs(Object key)
已过时。
|
Boolean |
getBoolean(Object key)
已过时。
|
Integer |
getInt(Object key)
已过时。
|
Long |
getLong(Object key)
已过时。
|
String |
getStr(Object key)
已过时。
|
boolean |
isFail()
已过时。
|
boolean |
isFalse(Object key)
已过时。
key 存在,并且 value 为 false,则返回 true
|
boolean |
isNull(Object key)
已过时。
key 不存在,或者 key 存在但 value 为null
|
boolean |
isOk()
已过时。
|
boolean |
isTrue(Object key)
已过时。
key 存在,并且 value 为 true,则返回 true
|
boolean |
notNull(Object key)
已过时。
key 存在,并且 value 不为 null
|
static JMap |
ok()
已过时。
|
static JMap |
ok(Object key,
Object value)
已过时。
|
JMap |
set(JMap jMap)
已过时。
|
JMap |
set(Map map)
已过时。
|
JMap |
set(Object key,
Object value)
已过时。
|
JMap |
setFail()
已过时。
|
JMap |
setOk()
已过时。
|
String |
toJson()
已过时。
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valueshashCode, toStringpublic static JMap create()
public static JMap ok()
public static JMap fail()
public JMap setOk()
public JMap setFail()
public boolean isOk()
public boolean isFail()
public <T> T getAs(Object key)
public boolean notNull(Object key)
public boolean isNull(Object key)
public boolean isTrue(Object key)
public boolean isFalse(Object key)
public String toJson()
public boolean equals(Object jMap)
equals 在接口中 Mapequals 在类中 AbstractMapCopyright © 2017. All rights reserved.