public static final class SearchQuery.NumericRange extends Object
Long.MAX_VALUE
represents
unlimited in either direction.Constructor and Description |
---|
SearchQuery.NumericRange(long value) |
SearchQuery.NumericRange(long lowValue,
long highValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getHighValue() |
long |
getLowValue() |
int |
hashCode() |
boolean |
isIn(long value)
Is the given value in this range?
|
String |
toString()
Constructs a
String with all attributes in name = value
format. |
public SearchQuery.NumericRange(long value)
public SearchQuery.NumericRange(long lowValue, long highValue)
public long getHighValue()
public long getLowValue()
public boolean isIn(long value)
value
- value to be testedpublic int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.