public interface Tuple
| 限定符和类型 | 方法和说明 |
|---|---|
void |
append(Map<String,Object> m) |
void |
fill(Object object) |
Object |
get(String key) |
String |
getProperty(String key) |
<T> T |
getProperty(String key,
Class<T> requiredType) |
<T> T |
getProperty(String key,
Class<T> requiredType,
T defaultValue) |
String |
getProperty(String key,
String defaultValue) |
<T> T |
getRequiredProperty(String key,
Class<T> requiredType) |
default boolean |
isEmpty() |
String[] |
keys() |
static Tuple |
newTuple() |
static Tuple |
newTuple(CaseFormat caseFormat) |
void |
set(String key,
Object value) |
int |
size() |
<T> T |
toBean(Class<T> requiredType) |
Map<String,Object> |
toMap() |
Object[] |
toValues() |
static Tuple |
wrap(Map<String,Object> kwargs) |
static Tuple |
wrap(Map<String,Object> kwargs,
CaseFormat caseFormat) |
default boolean isEmpty()
int size()
String[] keys()
Object[] toValues()
void fill(Object object)
<T> T toBean(Class<T> requiredType)
static Tuple newTuple()
static Tuple newTuple(CaseFormat caseFormat)
static Tuple wrap(Map<String,Object> kwargs, CaseFormat caseFormat)
Copyright © 2020. All rights reserved.