public class EasyObjectSetNull extends Object
| Constructor and Description |
|---|
EasyObjectSetNull() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setNull(Collection collection,
String... fieldExpressions)
从集合中将fieldsExpressions指定的属性设置为null
|
static void |
setNull(Object[] array,
String... fieldExpressions)
从数组中将fieldsExpressions指定的属性设置为null
|
static void |
setNull(Object o,
String... fieldExpressions)
从对象中将fieldsExpressions指定的属性设置为null
|
public static void setNull(Collection collection, String... fieldExpressions)
collection - 集合fieldExpressions - 字段表达式public static void setNull(Object[] array, String... fieldExpressions)
array - 对象数组fieldExpressions - 字段表达式Copyright © 2015. All rights reserved.