@Deprecated public class JMap extends HashMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
JMap()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static JMap |
by(Object key,
Object value)
Deprecated.
|
static JMap |
create()
Deprecated.
|
static JMap |
create(Object key,
Object value)
Deprecated.
|
JMap |
delete(Object key)
Deprecated.
|
boolean |
equals(Object jMap)
Deprecated.
|
static JMap |
fail()
Deprecated.
|
static JMap |
fail(Object key,
Object value)
Deprecated.
|
<T> T |
getAs(Object key)
Deprecated.
|
Boolean |
getBoolean(Object key)
Deprecated.
|
Integer |
getInt(Object key)
Deprecated.
|
Long |
getLong(Object key)
Deprecated.
|
String |
getStr(Object key)
Deprecated.
|
boolean |
isFail()
Deprecated.
|
boolean |
isFalse(Object key)
Deprecated.
key 存在,并且 value 为 false,则返回 true
|
boolean |
isNull(Object key)
Deprecated.
key 不存在,或者 key 存在但 value 为null
|
boolean |
isOk()
Deprecated.
|
boolean |
isTrue(Object key)
Deprecated.
key 存在,并且 value 为 true,则返回 true
|
boolean |
notNull(Object key)
Deprecated.
key 存在,并且 value 不为 null
|
static JMap |
ok()
Deprecated.
|
static JMap |
ok(Object key,
Object value)
Deprecated.
|
JMap |
set(JMap jMap)
Deprecated.
|
JMap |
set(Map map)
Deprecated.
|
JMap |
set(Object key,
Object value)
Deprecated.
|
JMap |
setFail()
Deprecated.
|
JMap |
setOk()
Deprecated.
|
String |
toJson()
Deprecated.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
hashCode, toString
public 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
in interface Map
equals
in class AbstractMap
Copyright © 2018. All rights reserved.