net.esper.eql.parse
Class TimePeriodParameter
java.lang.Object
net.esper.eql.parse.TimePeriodParameter
- All Implemented Interfaces:
- Serializable, MetaDefItem
public class TimePeriodParameter
- extends Object
- implements MetaDefItem
Parameter for views that accept time period information such as "5 sec 100 msec".
- See Also:
- Serialized Form
TimePeriodParameter
public TimePeriodParameter(double numSeconds)
- Ctor.
- Parameters:
numSeconds
- is the number of seconds represented by time period string
getNumSeconds
public double getNumSeconds()
- Returns the number of seconds.
- Returns:
- the number of seconds specified by time period string
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object