Package com.google.gerrit.index.query
Class AndCardinalPredicate<T>
java.lang.Object
com.google.gerrit.index.query.Predicate<T>
com.google.gerrit.index.query.AndPredicate<T>
com.google.gerrit.index.query.AndCardinalPredicate<T>
- All Implemented Interfaces:
- HasCardinality,- Matchable<T>,- Comparator<Predicate<T>>
- 
Nested Class SummaryNested classes/interfaces inherited from class com.google.gerrit.index.query.PredicatePredicate.Any<T>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncopy(Collection<? extends Predicate<T>> children) Create a copy of this predicate, with new children.intReturns an estimate of the number of results a source can return.Methods inherited from class com.google.gerrit.index.query.AndPredicatecompare, equals, getChild, getChildCount, getChildren, getCost, hashCode, isMatchable, match, toStringMethods inherited from class com.google.gerrit.index.query.Predicateand, and, any, asMatchable, estimateCost, getFlattenedPredicateList, getLeafCount, getPredicateString, isLeaf, not, or, or, supportedForQueriesMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparatorreversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface com.google.gerrit.index.query.MatchablematchResult
- 
Constructor Details- 
AndCardinalPredicate
 
- 
- 
Method Details- 
copyDescription copied from class:PredicateCreate a copy of this predicate, with new children.- Overrides:
- copyin class- AndPredicate<T>
 
- 
getCardinalitypublic int getCardinality()Description copied from interface:HasCardinalityReturns an estimate of the number of results a source can return.- Specified by:
- getCardinalityin interface- HasCardinality
 
 
-