public class LimitPredicate extends IntPredicate<ChangeData>
| Constructor and Description | 
|---|
| LimitPredicate(int limit) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getCost() | 
| static Integer | getLimit(Predicate<ChangeData> p) | 
| boolean | match(ChangeData object)Does this predicate match this object? | 
equals, hashCode, intValue, toStringcopy, getOperator, getValueand, and, any, getChild, getChildCount, getChildren, not, or, orpublic LimitPredicate(int limit)
               throws com.google.gerrit.server.query.QueryParseException
com.google.gerrit.server.query.QueryParseExceptionpublic static Integer getLimit(Predicate<ChangeData> p)
public boolean match(ChangeData object)
Predicatematch in class Predicate<ChangeData>public int getCost()
getCost in class Predicate<ChangeData>