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, toString
copy, getOperator, getValue
and, and, any, getChild, getChildCount, getChildren, not, or, or
public LimitPredicate(int limit) throws com.google.gerrit.server.query.QueryParseException
com.google.gerrit.server.query.QueryParseException
public static Integer getLimit(Predicate<ChangeData> p)
public boolean match(ChangeData object)
Predicate
match
in class Predicate<ChangeData>
public int getCost()
getCost
in class Predicate<ChangeData>