public class BeanMap extends MutableLinkedHashMap<String,Object>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
BeanMap(Object o,
boolean addNull,
String... ignoreFields) |
BeanMap(Object o,
String... ignoreFields) |
BeanMap(Object o,
VariableStyles variableStyle,
boolean addNull,
String... ignoreFields) |
BeanMap(Object o,
VariableStyles variableStyle,
String... ignoreFields) |
Modifier and Type | Method and Description |
---|---|
static BeanMap |
create(Object o,
boolean addNull,
String... ignoreFields) |
static BeanMap |
create(Object o,
String... ignoreFields) |
static BeanMap |
create(Object o,
VariableStyles variableStyle,
boolean addNull,
String... ignoreFields)
创建 BeanMap
|
static BeanMap |
create(Object o,
VariableStyles variableStyle,
String... ignoreFields) |
<T> T |
getValue() |
create, create
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getBooleanValue, getBooleanValue, getBooleanValue, getByte, getByte, getByte, getByteValue, getByteValue, getByteValue, getCharacter, getCharacter, getCharacter, getCharValue, getCharValue, getCharValue, getDate, getDate, getDate, getDouble, getDouble, getDouble, getDoubleValue, getDoubleValue, getDoubleValue, getFloat, getFloat, getFloat, getFloatValue, getFloatValue, getFloatValue, getInteger, getInteger, getInteger, getIntValue, getIntValue, getIntValue, getLocalDate, getLocalDate, getLocalDate, getLocalDateTime, getLocalDateTime, getLocalDateTime, getLong, getLong, getLong, getLongValue, getLongValue, getLongValue, getObject, getObject, getObject, getShort, getShort, getShort, getShortValue, getShortValue, getShortValue, getString, getString, getString
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public BeanMap(Object o, VariableStyles variableStyle, String... ignoreFields)
public BeanMap(Object o, VariableStyles variableStyle, boolean addNull, String... ignoreFields)
public static BeanMap create(Object o, VariableStyles variableStyle, String... ignoreFields)
public static BeanMap create(Object o, VariableStyles variableStyle, boolean addNull, String... ignoreFields)
o
- objectvariableStyle
- key 类型addNull
- 是否添加为null的属性ignoreFields
- 跳过的属性名称public <T> T getValue()
Copyright © 2024. All rights reserved.