final case class Length(m: Double) extends AnyVal with BaseValue[Length] with Product with Serializable
- Source
- units.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Length
- Serializable
- Product
- Equals
- BaseValue
- Ordered
- Comparable
- AnyVal
- Any
Implicitly
- by orderingToOrdered
- by richDrxAny
- by DrxBoundOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def *(scale: Long)(implicit d1: DummyImplicit): Length
- Definition Classes
- BaseValue
- def *(scale: Int)(implicit d1: DummyImplicit): Length
- Definition Classes
- BaseValue
- def *(scale: Double)(implicit d1: DummyImplicit): Length
- Definition Classes
- BaseValue
- def +(that: BaseValue[Length])(implicit d1: DummyImplicit): Length
- Definition Classes
- BaseValue
- def +-(eps: BaseValue[Length])(implicit b: Boundable[Length]): Bound[Length]
- Definition Classes
- BaseValue
- def -(that: BaseValue[Length])(implicit d1: DummyImplicit): Length
- Definition Classes
- BaseValue
- def ->[B](y: B): (Length, B)
- def /(v: Velocity)(implicit d1: DummyImplicit, d2: DummyImplicit): Time
- def /(t: Time): Velocity
- def /(scale: Long)(implicit d1: DummyImplicit): Length
- Definition Classes
- BaseValue
- def /(scale: Int)(implicit d1: DummyImplicit): Length
- Definition Classes
- BaseValue
- def /(scale: Double)(implicit d1: DummyImplicit): Length
- Definition Classes
- BaseValue
- def /(that: BaseValue[Length])(implicit d1: DummyImplicit): Double
- Definition Classes
- BaseValue
- def <(that: Length): Boolean
- Definition Classes
- Ordered
- def <=(that: Length): Boolean
- Definition Classes
- Ordered
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def >(that: Length): Boolean
- Definition Classes
- Ordered
- def >=(that: Length): Boolean
- Definition Classes
- Ordered
- def abs: Length
- Definition Classes
- BaseValue
- def apply(v: Double): Length
- def applyIf(t: Boolean, f: (Length) => Length): Length
- Implicit
- This member is added by an implicit conversion from Length toDrxAny[Length] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (Length) => Boolean)(f: (Length) => Length): Length
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from Length toDrxAny[Length] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def as(unit: String): Double
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def baseValue: Double
- def compare(that: Length): Int
- Definition Classes
- Length → Ordered
- def compare(that: BaseValue[Length]): Int
- Definition Classes
- BaseValue
- def compareTo(that: Length): Int
- Definition Classes
- Ordered → Comparable
- def down: Ned
- def east: Ned
- def elementOf(xs: Set[Length]): Boolean
- Implicit
- This member is added by an implicit conversion from Length toDrxAny[Length] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (Length) => Boolean, msg: => Any): Length
- def ensuring(cond: (Length) => Boolean): Length
- def ensuring(cond: Boolean, msg: => Any): Length
- def ensuring(cond: Boolean): Length
- def formatted(fmtstr: String): String
- def ft: Double
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lerp(that: BaseValue[Length])(ratio: Double): Length
- Definition Classes
- BaseValue
- val m: Double
- def nice: String
- def noneIf(f: (Length) => Boolean): Option[Length]
- Implicit
- This member is added by an implicit conversion from Length toDrxAny[Length] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def north: Ned
- def optionIf(f: (Length) => Boolean): Option[Length]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from Length toDrxAny[Length] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (Length) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from Length toDrxAny[Length] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def sideEffect(f: (Length) => Unit): Length
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from Length toDrxAny[Length] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (Length) => Boolean): Option[Length]
- Implicit
- This member is added by an implicit conversion from Length toDrxAny[Length] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- val thisAny: Length
- Implicit
- This member is added by an implicit conversion from Length toDrxAny[Length] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def till(maxArg: Length): Bound[Length]
Bound construction since the Range constructor is deprecated
Bound construction since the Range constructor is deprecated
- Implicit
- This member is added by an implicit conversion from Length toBoundOps[Length] performed by method DrxBoundOps in cc.drx.predef.Enrich.
- Definition Classes
- BoundOps
- def toString(): String
- Definition Classes
- Length → Any
- def unary_-: Length
- Definition Classes
- BaseValue
- def ~(that: Length)(implicit b: Boundable[Length]): Bound[Length]
- Definition Classes
- BaseValue
- def ~=(that: BaseValue[Length])(implicit eps: Eps): Boolean
- Definition Classes
- BaseValue
- def ~>(that: BaseValue[Length])(implicit b: Boundable[Length]): Bound[Length]
- Definition Classes
- BaseValue
Shadowed Implicit Value Members
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from Length toany2stringadd[Length] performed by method any2stringadd in scala.Predef.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(length: any2stringadd[Length]).+(other)
- Definition Classes
- any2stringadd
- def <(that: Length): Boolean
- Implicit
- This member is added by an implicit conversion from Length toOrdered[Length] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(length: Ordered[Length]).<(that)
- Definition Classes
- Ordered
- def <=(that: Length): Boolean
- Implicit
- This member is added by an implicit conversion from Length toOrdered[Length] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(length: Ordered[Length]).<=(that)
- Definition Classes
- Ordered
- def >(that: Length): Boolean
- Implicit
- This member is added by an implicit conversion from Length toOrdered[Length] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(length: Ordered[Length]).>(that)
- Definition Classes
- Ordered
- def >=(that: Length): Boolean
- Implicit
- This member is added by an implicit conversion from Length toOrdered[Length] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(length: Ordered[Length]).>=(that)
- Definition Classes
- Ordered
- def compare(that: Length): Int
- Implicit
- This member is added by an implicit conversion from Length toOrdered[Length] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(length: Ordered[Length]).compare(that)
- Definition Classes
- Ordered
- def compareTo(that: Length): Int
- Implicit
- This member is added by an implicit conversion from Length toOrdered[Length] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(length: Ordered[Length]).compareTo(that)
- Definition Classes
- Ordered → Comparable
Deprecated Value Members
- def ?>(f: (Length) => Boolean): Option[Length]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from Length toDrxAny[Length] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) to many symbols are hard to undertand
- def |>[B](f: (Length) => B): B
- Implicit
- This member is added by an implicit conversion from Length toDrxAny[Length] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
preApply
if you must (symbols are concise without concision)
- def →[B](y: B): (Length, B)
- Implicit
- This member is added by an implicit conversion from Length toArrowAssoc[Length] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.