com.github.tsingjyujing.geo.basic.timeseries.ITick.scala Maven / Gradle / Ivy
package com.github.tsingjyujing.geo.basic.timeseries
/**
* @author [email protected]
* Which can get tick and comparable
*/
trait ITick extends Comparable[ITick] {
/**
* Get tick in type of double
*
* @return
*/
def getTick: Double
/**
* Set tick
*
* @param tick tick
*/
def setTick(tick: Double): Unit
override def compareTo(t: ITick): Int = getTick.compareTo(t.getTick)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy