public class PredicateUtils extends Object
Utility class to deal with predicates.
| Modifier and Type | Method and Description | 
|---|---|
static void | 
assertNoNullPredicates(List<? extends Predicate> predicates)
Asserts that all given predicates are not null. 
 | 
static String | 
formatPredicateValue(Object value)
Formats a predicate value (for debugging / testing). 
 | 
static <T extends Predicate> | 
removeEmptyPredicates(List<? extends T> predicates)
Removes all empty predicates from the given non-null predicates. 
 | 
public static void assertNoNullPredicates(List<? extends Predicate> predicates)
Asserts that all given predicates are not null.
predicates - the predicates to assertpublic static <T extends Predicate> com.google.common.collect.ImmutableList<T> removeEmptyPredicates(List<? extends T> predicates)
Removes all empty predicates from the given non-null predicates.
T - the type of the predicatepredicates - the predicates to checkCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.