public class OrPredicate<T> extends Predicate<T>
| Modifier | Constructor and Description | 
|---|---|
protected  | 
OrPredicate(Collection<? extends Predicate<T>> that)  | 
protected  | 
OrPredicate(Predicate<T>... that)  | 
| Modifier and Type | Method and Description | 
|---|---|
Predicate<T> | 
copy(Collection<? extends Predicate<T>> children)
Create a copy of this predicate, with new children. 
 | 
boolean | 
equals(Object other)  | 
Predicate<T> | 
getChild(int i)
Same as  
getChildren().get(i) | 
int | 
getChildCount()
Same as  
getChildren().size() | 
List<Predicate<T>> | 
getChildren()
Get the children of this predicate, if any. 
 | 
int | 
getCost()  | 
int | 
hashCode()  | 
boolean | 
match(T object)
Does this predicate match this object? 
 | 
String | 
toString()  | 
@SafeVarargs protected OrPredicate(Predicate<T>... that)
protected OrPredicate(Collection<? extends Predicate<T>> that)
public final List<Predicate<T>> getChildren()
PredicategetChildren in class Predicate<T>public final int getChildCount()
PredicategetChildren().size()getChildCount in class Predicate<T>public final Predicate<T> getChild(int i)
PredicategetChildren().get(i)public Predicate<T> copy(Collection<? extends Predicate<T>> children)
Predicatepublic boolean match(T object) throws com.google.gwtorm.server.OrmException
Predicatepublic int getCost()