T
- the generic typepublic class BeanPredicate<T> extends Object implements Predicate<T>
PropertyUtil.getProperty(Object, String)
匹配属性值.BeanPredicate
,
BeanPropertyValueEqualsPredicate
,
ComparatorPredicate
Constructor and Description |
---|
BeanPredicate(String propertyName,
Predicate valuePredicate)
The Constructor.
|
public BeanPredicate(String propertyName, Predicate valuePredicate)
如果 propertyName
是null,抛出 NullPointerException
如果 propertyName
是blank,抛出 IllegalArgumentException
如果 valuePredicate
是null,抛出 NullPointerException
propertyName
- 泛型T对象指定的属性名称,Possibly indexed and/or nested name of the property to be modified,参见
propertyNamevaluePredicate
- the predicateCopyright © 2008-2019 by feilong