public class Predicates extends Object
| Constructor and Description |
|---|
Predicates() |
| Modifier and Type | Method and Description |
|---|---|
static <T> com.google.common.base.Predicate<T> |
propertyEqualTo(String propertyName,
Object propertyValue)
Create a predicate which test if a property of both object are equal
|
public static <T> com.google.common.base.Predicate<T> propertyEqualTo(String propertyName, Object propertyValue)
T - Predicate typepropertyName - of the property to be checkedpropertyValue - that the property should haveCopyright © 2021. All rights reserved.