| Modifier | Constructor and Description |
|---|---|
protected |
NotPredicate(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 |
isMatchable() |
boolean |
match(T object)
Does this predicate match this object?
|
String |
toString() |
and, and, any, asMatchable, estimateCost, not, or, orpublic 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 isMatchable()
isMatchable in class Predicate<T>public boolean match(T object) throws com.google.gwtorm.server.OrmException
Matchablepublic int getCost()