|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.type.RangeParameter
public class RangeParameter
Represents a range of numbers as a parameter.
Constructor Summary | |
---|---|
RangeParameter()
|
|
RangeParameter(int low,
int high)
Ctor. |
Method Summary | |
---|---|
boolean |
containsPoint(int point)
|
java.lang.String |
formatted()
|
int |
getHigh()
Returns end of range. |
int |
getLow()
Returns start of range. |
java.util.Set<java.lang.Integer> |
getValuesInRange(int min,
int max)
Return a set of int values representing the value of the parameter for the given range. |
boolean |
isWildcard(int min,
int max)
Returns true if all values between and including min and max are supplied by the parameter. |
void |
setHigh(int high)
|
void |
setLow(int low)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RangeParameter()
public RangeParameter(int low, int high)
low
- - start of rangehigh
- - end of rangeMethod Detail |
---|
public void setLow(int low)
public void setHigh(int high)
public int getLow()
public int getHigh()
public boolean isWildcard(int min, int max)
NumberSetParameter
isWildcard
in interface NumberSetParameter
min
- - lower end of rangemax
- - upper end of range
public java.util.Set<java.lang.Integer> getValuesInRange(int min, int max)
NumberSetParameter
getValuesInRange
in interface NumberSetParameter
min
- - lower end of rangemax
- - upper end of range
public boolean containsPoint(int point)
containsPoint
in interface NumberSetParameter
public java.lang.String formatted()
formatted
in interface NumberSetParameter
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |