public class AndChangeSource extends AndSource<ChangeData> implements ChangeDataSource
| Constructor and Description |
|---|
AndChangeSource(java.util.Collection<Predicate<ChangeData>> that) |
AndChangeSource(Predicate<ChangeData> that,
IsVisibleToPredicate<ChangeData> isVisibleToPredicate,
int start) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Predicate<ChangeData> a,
Predicate<ChangeData> b) |
boolean |
hasChange() |
protected java.util.List<ChangeData> |
transformBuffer(java.util.List<ChangeData> buffer) |
getCardinality, isMatchable, match, readcopy, equals, getChild, getChildCount, getChildren, getCost, hashCode, toStringand, and, any, asMatchable, estimateCost, not, or, orclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCardinality, readpublic AndChangeSource(java.util.Collection<Predicate<ChangeData>> that)
public AndChangeSource(Predicate<ChangeData> that, IsVisibleToPredicate<ChangeData> isVisibleToPredicate, int start)
public boolean hasChange()
hasChange in interface ChangeDataSourceprotected java.util.List<ChangeData> transformBuffer(java.util.List<ChangeData> buffer) throws com.google.gwtorm.server.OrmRuntimeException
transformBuffer in class AndSource<ChangeData>com.google.gwtorm.server.OrmRuntimeExceptionpublic int compare(Predicate<ChangeData> a, Predicate<ChangeData> b)
compare in interface java.util.Comparator<Predicate<ChangeData>>compare in class AndSource<ChangeData>