All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.tsingjyujing.geo.basic.timeseries.ITick.scala Maven / Gradle / Ivy

There is a newer version: 2.8.9-2.11
Show newest version
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