edu.iris.Fissures.model
Class SamplingImpl
java.lang.Object
edu.iris.Fissures.Sampling
edu.iris.Fissures.model.SamplingImpl
- All Implemented Interfaces:
- java.io.Serializable, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.portable.Streamable, org.omg.CORBA.portable.StreamableValue, org.omg.CORBA.portable.ValueBase
public class SamplingImpl
- extends edu.iris.Fissures.Sampling
SamplingImpl.java
Created: Wed Aug 11 11:02:00 1999
- See Also:
- Serialized Form
Fields inherited from class edu.iris.Fissures.Sampling |
interval, numPoints |
Methods inherited from class edu.iris.Fissures.Sampling |
_read, _truncatable_ids, _type, _write |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SamplingImpl
protected SamplingImpl()
SamplingImpl
public SamplingImpl(int numPoints,
TimeInterval interval)
createEmpty
public static java.io.Serializable createEmpty()
createSamplingImpl
public static SamplingImpl createSamplingImpl(edu.iris.Fissures.Sampling samp)
getPeriod
public TimeInterval getPeriod()
- Gets the sample period. Returns a Quantity object that has
Units of time, usually seconds.
getFrequency
public QuantityImpl getFrequency()
- Gets the sample frequency. Returns a Quantity object that has
units of 1/time, usually Hz.
getNumPoints
public int getNumPoints()
setNumPoints
protected void setNumPoints(int n)
getTimeInterval
public TimeInterval getTimeInterval()
setTimeInterval
protected void setTimeInterval(QuantityImpl i)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object