timeboundedobjectif.java

来自「一个用java写的地震分析软件(无源码)-used to write a sei」· Java 代码 · 共 23 行

JAVA
23
字号
package org.trinet.util;
/**
 * An object that is associated with a particular time span. For example, a channel
 * gain has a particular value only for a period of time. It will change when
 * components are changed or, perhaps, when it is recalibrated.
 */
public interface TimeBoundedObjectIF {

  /** The timespan for for which this object is valid. */
  TimeSpan timespan = new TimeSpan();

  /** Returns 'true' if epochtime is in the time span for which this object
   * is valid. */
  abstract public boolean isValidAt(double epochtime) ;

  /** Return the timespan for for which this object is valid. */
  abstract public TimeSpan getTimeSpan() ;

  /** Set the timespan for for which this object is valid. */
  abstract public void setTimespan(TimeSpan timespan);

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?