public final class FacetRange
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEnd()
Returns the string representation of the upper bound of the range or null if there is
no upper bound.
|
java.lang.String |
getStart()
Returns the string representation of the lower bound of the range or null if there is
no lower bound.
|
java.lang.String |
toString() |
static FacetRange |
withEnd(java.lang.Double end)
Creates a numeric
FacetRange that matches any value less than end. |
static FacetRange |
withStart(java.lang.Double start)
Creates a numeric
FacetRange that matches any value greater than or equal to
start. |
static FacetRange |
withStartEnd(java.lang.Double start,
java.lang.Double end)
Creates a numeric
FacetRange that matches
any value greater than or equal to start but less than end. |
public static FacetRange withStartEnd(java.lang.Double start, java.lang.Double end)
FacetRange that matches
any value greater than or equal to start but less than end.FacetRange.java.lang.IllegalArgumentException - if start or end is not a finite number.public static FacetRange withStart(java.lang.Double start)
FacetRange that matches any value greater than or equal to
start.FacetRange.java.lang.IllegalArgumentException - if start or end is not a finite number.public static FacetRange withEnd(java.lang.Double end)
FacetRange that matches any value less than end.FacetRange.java.lang.IllegalArgumentException - if start or end is not a finite number.public java.lang.String getStart()
public java.lang.String getEnd()
public java.lang.String toString()
toString in class java.lang.Object