Package com.google.gerrit.index.query
Class IntPredicate<T>
- java.lang.Object
-
- com.google.gerrit.index.query.Predicate<T>
-
- com.google.gerrit.index.query.OperatorPredicate<T>
-
- com.google.gerrit.index.query.IntPredicate<T>
-
- Direct Known Subclasses:
LimitPredicate
public abstract class IntPredicate<T> extends OperatorPredicate<T>
Predicate to filter a field by matching integer value.
-
-
Field Summary
-
Fields inherited from class com.google.gerrit.index.query.OperatorPredicate
name, value
-
-
Constructor Summary
Constructors Constructor Description IntPredicate(String name, int intValue)
IntPredicate(String name, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
int
hashCode()
int
intValue()
String
toString()
-
Methods inherited from class com.google.gerrit.index.query.OperatorPredicate
copy, getOperator, getValue
-
Methods inherited from class com.google.gerrit.index.query.Predicate
and, and, any, asMatchable, estimateCost, getChild, getChildCount, getChildren, getFlattenedPredicateList, getLeafCount, getPredicateString, isLeaf, isMatchable, not, or, or, supportedForQueries
-
-
-
-
Method Detail
-
intValue
public int intValue()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classOperatorPredicate<T>
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classOperatorPredicate<T>
-
toString
public String toString()
- Overrides:
toString
in classOperatorPredicate<T>
-
-