public class EMKeyValue extends Object
限定符和类型 | 类和说明 |
---|---|
static class |
EMKeyValue.Type |
限定符和类型 | 方法和说明 |
---|---|
boolean |
asBoolean() |
double |
asDouble() |
long |
asFloat() |
int |
asInt() |
long |
asLong() |
Object |
asObject() |
String |
asString() |
String |
key() |
static Set<EMKeyValue> |
of(Map<String,Object> map) |
static EMKeyValue |
of(String key,
boolean value) |
static EMKeyValue |
of(String key,
double value) |
static EMKeyValue |
of(String key,
float value) |
static EMKeyValue |
of(String key,
int value) |
static EMKeyValue |
of(String key,
long value) |
static EMKeyValue |
of(String k,
Object v) |
static EMKeyValue |
of(String key,
String value) |
EMKeyValue.Type |
type() |
public static EMKeyValue of(String key, boolean value)
public static EMKeyValue of(String key, int value)
public static EMKeyValue of(String key, long value)
public static EMKeyValue of(String key, float value)
public static EMKeyValue of(String key, double value)
public static EMKeyValue of(String key, String value)
public static EMKeyValue of(String k, Object v)
public static Set<EMKeyValue> of(Map<String,Object> map)
public String key()
public EMKeyValue.Type type()
public boolean asBoolean()
public int asInt()
public long asLong()
public long asFloat()
public double asDouble()
public String asString()
public Object asObject()
Copyright © 2024. All rights reserved.