public class AndSource<T> extends AndPredicate<T> implements DataSource<T>, Comparator<Predicate<T>>
| Modifier and Type | Field and Description |
|---|---|
protected DataSource<T> |
source |
| Constructor and Description |
|---|
AndSource(Collection<? extends Predicate<T>> that) |
AndSource(Collection<? extends Predicate<T>> that,
IsVisibleToPredicate<T> isVisibleToPredicate,
int start) |
AndSource(Predicate<T> that,
IsVisibleToPredicate<T> isVisibleToPredicate) |
AndSource(Predicate<T> that,
IsVisibleToPredicate<T> isVisibleToPredicate,
int start) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Predicate<T> a,
Predicate<T> b) |
int |
getCardinality() |
boolean |
isMatchable() |
boolean |
match(T object)
Does this predicate match this object?
|
com.google.gwtorm.server.ResultSet<T> |
read() |
protected List<T> |
transformBuffer(List<T> buffer) |
copy, equals, getChild, getChildCount, getChildren, getCost, hashCode, toStringand, and, any, asMatchable, estimateCost, not, or, orclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongprotected final DataSource<T> source
public AndSource(Collection<? extends Predicate<T>> that)
public AndSource(Predicate<T> that, IsVisibleToPredicate<T> isVisibleToPredicate)
public AndSource(Predicate<T> that, IsVisibleToPredicate<T> isVisibleToPredicate, int start)
public AndSource(Collection<? extends Predicate<T>> that, IsVisibleToPredicate<T> isVisibleToPredicate, int start)
public com.google.gwtorm.server.ResultSet<T> read() throws com.google.gwtorm.server.OrmException
read in interface DataSource<T>com.google.gwtorm.server.OrmExceptionpublic boolean isMatchable()
isMatchable in class AndPredicate<T>public boolean match(T object) throws com.google.gwtorm.server.OrmException
Matchableprotected List<T> transformBuffer(List<T> buffer) throws com.google.gwtorm.server.OrmRuntimeException
com.google.gwtorm.server.OrmRuntimeExceptionpublic int getCardinality()
getCardinality in interface DataSource<T>DataSource.read().