final case class Velocity(base: Double) extends AnyVal with BaseValue[Velocity] with Product with Serializable
- Source
- units.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Velocity
- 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 *(t: Time): Length
- def *(scale: Long)(implicit d1: DummyImplicit): Velocity
- Definition Classes
- BaseValue
- def *(scale: Int)(implicit d1: DummyImplicit): Velocity
- Definition Classes
- BaseValue
- def *(scale: Double)(implicit d1: DummyImplicit): Velocity
- Definition Classes
- BaseValue
- def +(that: BaseValue[Velocity])(implicit d1: DummyImplicit): Velocity
- Definition Classes
- BaseValue
- def +-(eps: BaseValue[Velocity])(implicit b: Boundable[Velocity]): Bound[Velocity]
- Definition Classes
- BaseValue
- def -(that: BaseValue[Velocity])(implicit d1: DummyImplicit): Velocity
- Definition Classes
- BaseValue
- def ->[B](y: B): (Velocity, B)
- def /(t: Time): Acceleration
- def /(scale: Long)(implicit d1: DummyImplicit): Velocity
- Definition Classes
- BaseValue
- def /(scale: Int)(implicit d1: DummyImplicit): Velocity
- Definition Classes
- BaseValue
- def /(scale: Double)(implicit d1: DummyImplicit): Velocity
- Definition Classes
- BaseValue
- def /(that: BaseValue[Velocity])(implicit d1: DummyImplicit): Double
- Definition Classes
- BaseValue
- def <(that: Velocity): Boolean
- Definition Classes
- Ordered
- def <=(that: Velocity): Boolean
- Definition Classes
- Ordered
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def >(that: Velocity): Boolean
- Definition Classes
- Ordered
- def >=(that: Velocity): Boolean
- Definition Classes
- Ordered
- def abs: Velocity
- Definition Classes
- BaseValue
- def apply(v: Double): Velocity
- def applyIf(t: Boolean, f: (Velocity) => Velocity): Velocity
- Implicit
- This member is added by an implicit conversion from Velocity toDrxAny[Velocity] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (Velocity) => Boolean)(f: (Velocity) => Velocity): Velocity
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from Velocity toDrxAny[Velocity] 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
- val base: Double
- def baseValue: Double
- def compare(that: Velocity): Int
- Definition Classes
- Velocity → Ordered
- def compare(that: BaseValue[Velocity]): Int
- Definition Classes
- BaseValue
- def compareTo(that: Velocity): Int
- Definition Classes
- Ordered → Comparable
- def elementOf(xs: Set[Velocity]): Boolean
- Implicit
- This member is added by an implicit conversion from Velocity toDrxAny[Velocity] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (Velocity) => Boolean, msg: => Any): Velocity
- def ensuring(cond: (Velocity) => Boolean): Velocity
- def ensuring(cond: Boolean, msg: => Any): Velocity
- def ensuring(cond: Boolean): Velocity
- def formatted(fmtstr: String): String
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lerp(that: BaseValue[Velocity])(ratio: Double): Velocity
- Definition Classes
- BaseValue
- def nice: String
- def noneIf(f: (Velocity) => Boolean): Option[Velocity]
- Implicit
- This member is added by an implicit conversion from Velocity toDrxAny[Velocity] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def optionIf(f: (Velocity) => Boolean): Option[Velocity]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from Velocity toDrxAny[Velocity] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (Velocity) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from Velocity toDrxAny[Velocity] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def sideEffect(f: (Velocity) => Unit): Velocity
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from Velocity toDrxAny[Velocity] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (Velocity) => Boolean): Option[Velocity]
- Implicit
- This member is added by an implicit conversion from Velocity toDrxAny[Velocity] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- val thisAny: Velocity
- Implicit
- This member is added by an implicit conversion from Velocity toDrxAny[Velocity] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def till(maxArg: Velocity): Bound[Velocity]
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 Velocity toBoundOps[Velocity] performed by method DrxBoundOps in cc.drx.predef.Enrich.
- Definition Classes
- BoundOps
- def toString(): String
- Definition Classes
- Velocity → Any
- def unary_-: Velocity
- Definition Classes
- BaseValue
- def ~(that: Velocity)(implicit b: Boundable[Velocity]): Bound[Velocity]
- Definition Classes
- BaseValue
- def ~=(that: BaseValue[Velocity])(implicit eps: Eps): Boolean
- Definition Classes
- BaseValue
- def ~>(that: BaseValue[Velocity])(implicit b: Boundable[Velocity]): Bound[Velocity]
- Definition Classes
- BaseValue
Shadowed Implicit Value Members
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from Velocity toany2stringadd[Velocity] 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:(velocity: any2stringadd[Velocity]).+(other)
- Definition Classes
- any2stringadd
- def <(that: Velocity): Boolean
- Implicit
- This member is added by an implicit conversion from Velocity toOrdered[Velocity] 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:(velocity: Ordered[Velocity]).<(that)
- Definition Classes
- Ordered
- def <=(that: Velocity): Boolean
- Implicit
- This member is added by an implicit conversion from Velocity toOrdered[Velocity] 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:(velocity: Ordered[Velocity]).<=(that)
- Definition Classes
- Ordered
- def >(that: Velocity): Boolean
- Implicit
- This member is added by an implicit conversion from Velocity toOrdered[Velocity] 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:(velocity: Ordered[Velocity]).>(that)
- Definition Classes
- Ordered
- def >=(that: Velocity): Boolean
- Implicit
- This member is added by an implicit conversion from Velocity toOrdered[Velocity] 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:(velocity: Ordered[Velocity]).>=(that)
- Definition Classes
- Ordered
- def compare(that: Velocity): Int
- Implicit
- This member is added by an implicit conversion from Velocity toOrdered[Velocity] 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:(velocity: Ordered[Velocity]).compare(that)
- Definition Classes
- Ordered
- def compareTo(that: Velocity): Int
- Implicit
- This member is added by an implicit conversion from Velocity toOrdered[Velocity] 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:(velocity: Ordered[Velocity]).compareTo(that)
- Definition Classes
- Ordered → Comparable
Deprecated Value Members
- def ?>(f: (Velocity) => Boolean): Option[Velocity]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from Velocity toDrxAny[Velocity] 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: (Velocity) => B): B
- Implicit
- This member is added by an implicit conversion from Velocity toDrxAny[Velocity] 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): (Velocity, B)
- Implicit
- This member is added by an implicit conversion from Velocity toArrowAssoc[Velocity] 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.