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

com.malliina.values.RangedValue.scala Maven / Gradle / Ivy

The newest version!
package com.malliina.values

abstract class RangedValue[T, U <: WrappedValue[T]](min: T, max: T) extends RangeValidator[T, U] {
  override val Min: T = min
  override val Max: T = max

  override def strip(elem: U): T = elem.value
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy