|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.type.IntParameter
public class IntParameter
Parameter supplying a single int value is a set of numbers.
Constructor Summary | |
---|---|
IntParameter(int intValue)
Ctor. |
Method Summary | |
---|---|
int |
getIntValue()
Returns int value. |
Set<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 |
toEQL(StringWriter writer)
Returns the EQL representation of the parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntParameter(int intValue)
intValue
- - single in valueMethod Detail |
---|
public int getIntValue()
public boolean isWildcard(int min, int max)
NumberSetParameter
isWildcard
in interface NumberSetParameter
min
- - lower end of rangemax
- - upper end of range
public Set<Integer> getValuesInRange(int min, int max)
NumberSetParameter
getValuesInRange
in interface NumberSetParameter
min
- - lower end of rangemax
- - upper end of range
public void toEQL(StringWriter writer)
EQLParameterType
toEQL
in interface EQLParameterType
toEQL
in interface NumberSetParameter
writer
- for output to
|
© 2007 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 |