public class AndChangeSource extends AndSource<ChangeData> implements ChangeDataSource
| Constructor and Description |
|---|
AndChangeSource(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 List<ChangeData> |
transformBuffer(List<ChangeData> buffer) |
getCardinality, isMatchable, match, read, readRawcopy, equals, getChild, getChildCount, getChildren, getCost, hashCode, toStringand, and, any, asMatchable, estimateCost, getLeafCount, not, or, orclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCardinality, read, readRawcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic AndChangeSource(Collection<Predicate<ChangeData>> that)
public AndChangeSource(Predicate<ChangeData> that, IsVisibleToPredicate<ChangeData> isVisibleToPredicate, int start)
public boolean hasChange()
hasChange in interface ChangeDataSourceprotected List<ChangeData> transformBuffer(List<ChangeData> buffer)
transformBuffer in class AndSource<ChangeData>public int compare(Predicate<ChangeData> a, Predicate<ChangeData> b)
compare in interface Comparator<Predicate<ChangeData>>compare in class AndSource<ChangeData>