| Package | Description |
|---|---|
| org.aoju.bus.core.lang |
| Modifier and Type | Method and Description |
|---|---|
<T extends Dict> |
Dict.removeEqual(T dict,
String... withoutNames)
与给定实体对比并去除相同的部分
此方法用于在更新操作时避免所有字段被更新,跳过不需要更新的字段 version from 2.0.0
|
| Modifier and Type | Method and Description |
|---|---|
Dict |
Dict.clone() |
static Dict |
Dict.create()
创建Dict
|
Dict |
Dict.filter(String... keys)
过滤Map保留指定键值对,如果键不存在跳过
|
static <T> Dict |
Dict.parse(T bean)
将PO对象转为Dict
|
<T> Dict |
Dict.parseBean(T bean)
将值对象转换为Dict
类名会被当作表名,小写第一个字母
|
<T> Dict |
Dict.parseBean(T bean,
boolean isToUnderlineCase,
boolean ignoreNullValue)
将值对象转换为Dict
类名会被当作表名,小写第一个字母
|
Dict |
Dict.set(String attr,
Object value)
设置列
|
Dict |
Dict.setIgnoreNull(String attr,
Object value)
设置列,当键或值为null时忽略
|
Copyright © 2019. All rights reserved.