net.esper.eql.parse
Class TimePeriodParameter

java.lang.Object
  extended by net.esper.eql.parse.TimePeriodParameter

public class TimePeriodParameter
extends Object

Parameter for views that accept time period information such as "5 sec 100 msec".


Constructor Summary
TimePeriodParameter(double numSeconds)
          Ctor.
 
Method Summary
 boolean equals(Object object)
           
 double getNumSeconds()
          Returns the number of seconds.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimePeriodParameter

public TimePeriodParameter(double numSeconds)
Ctor.

Parameters:
numSeconds - is the number of seconds represented by time period string
Method Detail

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