Class Infinite
java.lang.Object
com.yahoo.search.grouping.request.Infinite
- All Implemented Interfaces:
Comparable
This class represents an Infinite value that may be used as a bucket
size specifier. This is immutable.
- Author:
- Ulf Lilleengen
-
Constructor Summary
ConstructorDescriptionInfinite
(boolean negative) Create an Infinite object with positive or negative sign. -
Method Summary
-
Constructor Details
-
Infinite
public Infinite(boolean negative) Create an Infinite object with positive or negative sign.- Parameters:
negative
- the signedness.
-
-
Method Details
-
toString
Override the toString method in order to be re-parseable. -
compareTo
An infinity value is always less than or greater than.- Specified by:
compareTo
in interfaceComparable
-
equals
-
hashCode
public int hashCode()
-