类 SawToothTiming


  • public class SawToothTiming
    extends java.lang.Object
    This Timing ramps up linearly from 0 to 1 in a given repeated time interval.
    • 构造器概要

      构造器 
      构造器 说明
      SawToothTiming​(long period, long phase)
      Creates a new SawToothTiming.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      double getTiming​(long time)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • SawToothTiming

        public SawToothTiming​(long period,
                              long phase)
        Creates a new SawToothTiming.
        参数:
        period - the time period for a full cycle.
        phase - the phase of the cycle, which is added to the actual time.
    • 方法详细资料

      • getTiming

        public double getTiming​(long time)