|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.type.FrequencyParameter
public class FrequencyParameter
Encapsulates a parameter specifying a frequency, i.e. '* / 5'.
Constructor Summary | |
---|---|
FrequencyParameter(int frequency)
Ctor. |
Method Summary | |
---|---|
boolean |
containsPoint(int point)
|
java.lang.String |
formatted()
|
int |
getFrequency()
Returns frequency. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FrequencyParameter(int frequency)
frequency
- - divisor specifying frequencyMethod Detail |
---|
public int getFrequency()
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 |