RangedValue

com.malliina.values.RangedValue
abstract class RangedValue[T, U <: WrappedValue[T]](min: T, max: T) extends RangeValidator[T, U]

Attributes

Graph
Supertypes
trait RangeValidator[T, U]
trait ValueValidator[T, U]
class Object
trait Matchable
class Any
Known subtypes
class RangedInt[U]

Members list

Concise view

Value members

Concrete methods

override def strip(elem: U): T

Attributes

Definition Classes

Inherited methods

def Default: T

Attributes

Inherited from:
RangeValidator
protected def build(t: T): U

Attributes

Inherited from:
ValueValidator
def empty: U

Attributes

Inherited from:
RangeValidator
def from(elem: T): Option[U]

Attributes

Inherited from:
ValueValidator
def isValid(elem: T): Boolean

Attributes

Inherited from:
ValueValidator

Concrete fields

override val Max: T
override val Min: T

Inherited fields

lazy val MaxValue: U

Attributes

Inherited from:
RangeValidator
lazy val MinValue: U

Attributes

Inherited from:
RangeValidator