Packages

t

cc.drx

BaseValue

trait BaseValue[A] extends Ordered[A]

primary base trait for all measurment unit types

Source
units.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BaseValue
  2. Ordered
  3. Comparable
  4. Any
Implicitly
  1. by orderingToOrdered
  2. by richDrxAny
  3. by DrxBoundOps
  4. by any2stringadd
  5. by StringFormat
  6. by Ensuring
  7. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def apply(v: Double): A
  2. abstract def baseValue: Double
  3. abstract def compare(that: A): Int
    Definition Classes
    Ordered
  4. abstract def getClass(): Class[_ <: AnyRef]
    Definition Classes
    Any
  5. abstract def nice: String

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def *(scale: Long)(implicit d1: DummyImplicit): A
  4. def *(scale: Int)(implicit d1: DummyImplicit): A
  5. def *(scale: Double)(implicit d1: DummyImplicit): A
  6. def +(that: BaseValue[A])(implicit d1: DummyImplicit): A
  7. def +-(eps: BaseValue[A])(implicit b: Boundable[A]): Bound[A]
  8. def -(that: BaseValue[A])(implicit d1: DummyImplicit): A
  9. def ->[B](y: B): (BaseValue[A], B)
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toArrowAssoc[BaseValue[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  10. def /(scale: Long)(implicit d1: DummyImplicit): A
  11. def /(scale: Int)(implicit d1: DummyImplicit): A
  12. def /(scale: Double)(implicit d1: DummyImplicit): A
  13. def /(that: BaseValue[A])(implicit d1: DummyImplicit): Double
  14. def <(that: A): Boolean
    Definition Classes
    Ordered
  15. def <=(that: A): Boolean
    Definition Classes
    Ordered
  16. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  17. def >(that: A): Boolean
    Definition Classes
    Ordered
  18. def >=(that: A): Boolean
    Definition Classes
    Ordered
  19. def abs: A
  20. def applyIf(t: Boolean, f: (BaseValue[A]) => BaseValue[A]): BaseValue[A]
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toDrxAny[BaseValue[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  21. def applyIf(t: (BaseValue[A]) => Boolean)(f: (BaseValue[A]) => BaseValue[A]): BaseValue[A]

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from BaseValue[A] toDrxAny[BaseValue[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  22. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  23. def compare(that: BaseValue[A]): Int
  24. def compareTo(that: A): Int
    Definition Classes
    Ordered → Comparable
  25. def elementOf(xs: Set[BaseValue[A]]): Boolean
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toDrxAny[BaseValue[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  26. def ensuring(cond: (BaseValue[A]) => Boolean, msg: => Any): BaseValue[A]
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toEnsuring[BaseValue[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. def ensuring(cond: (BaseValue[A]) => Boolean): BaseValue[A]
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toEnsuring[BaseValue[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. def ensuring(cond: Boolean, msg: => Any): BaseValue[A]
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toEnsuring[BaseValue[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  29. def ensuring(cond: Boolean): BaseValue[A]
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toEnsuring[BaseValue[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  30. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  31. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toStringFormat[BaseValue[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  32. def hashCode(): Int
    Definition Classes
    Any
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def lerp(that: BaseValue[A])(ratio: Double): A
  35. def noneIf(f: (BaseValue[A]) => Boolean): Option[BaseValue[A]]
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toDrxAny[BaseValue[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  36. def optionIf(f: (BaseValue[A]) => Boolean): Option[BaseValue[A]]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from BaseValue[A] toDrxAny[BaseValue[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  37. def preApply[B](f: (BaseValue[A]) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from BaseValue[A] toDrxAny[BaseValue[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  38. def sideEffect(f: (BaseValue[A]) => Unit): BaseValue[A]

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from BaseValue[A] toDrxAny[BaseValue[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  39. def someIf(f: (BaseValue[A]) => Boolean): Option[BaseValue[A]]
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toDrxAny[BaseValue[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  40. val thisAny: BaseValue[A]
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toDrxAny[BaseValue[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  41. def till(maxArg: BaseValue[A]): Bound[BaseValue[A]]

    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 BaseValue[A] toBoundOps[BaseValue[A]] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[BaseValue[A]] is in scope.
    Definition Classes
    BoundOps
  42. def toString(): String
    Definition Classes
    Any
  43. def unary_-: A
  44. def ~(that: A)(implicit b: Boundable[A]): Bound[A]
  45. def ~=(that: BaseValue[A])(implicit eps: Eps): Boolean
  46. def ~>(that: BaseValue[A])(implicit b: Boundable[A]): Bound[A]

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toany2stringadd[BaseValue[A]] 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:
    (baseValue: any2stringadd[BaseValue[A]]).+(other)
    Definition Classes
    any2stringadd
  2. def <(that: BaseValue[A]): Boolean
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toOrdered[BaseValue[A]] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type Ordering[BaseValue[A]] is in scope.
    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:
    (baseValue: Ordered[BaseValue[A]]).<(that)
    Definition Classes
    Ordered
  3. def <=(that: BaseValue[A]): Boolean
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toOrdered[BaseValue[A]] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type Ordering[BaseValue[A]] is in scope.
    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:
    (baseValue: Ordered[BaseValue[A]]).<=(that)
    Definition Classes
    Ordered
  4. def >(that: BaseValue[A]): Boolean
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toOrdered[BaseValue[A]] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type Ordering[BaseValue[A]] is in scope.
    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:
    (baseValue: Ordered[BaseValue[A]]).>(that)
    Definition Classes
    Ordered
  5. def >=(that: BaseValue[A]): Boolean
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toOrdered[BaseValue[A]] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type Ordering[BaseValue[A]] is in scope.
    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:
    (baseValue: Ordered[BaseValue[A]]).>=(that)
    Definition Classes
    Ordered
  6. def compare(that: BaseValue[A]): Int
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toOrdered[BaseValue[A]] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type Ordering[BaseValue[A]] is in scope.
    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:
    (baseValue: Ordered[BaseValue[A]]).compare(that)
    Definition Classes
    Ordered
  7. def compareTo(that: BaseValue[A]): Int
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toOrdered[BaseValue[A]] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type Ordering[BaseValue[A]] is in scope.
    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:
    (baseValue: Ordered[BaseValue[A]]).compareTo(that)
    Definition Classes
    Ordered → Comparable

Deprecated Value Members

  1. def ?>(f: (BaseValue[A]) => Boolean): Option[BaseValue[A]]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from BaseValue[A] toDrxAny[BaseValue[A]] 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

  2. def |>[B](f: (BaseValue[A]) => B): B
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toDrxAny[BaseValue[A]] 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)

  3. def [B](y: B): (BaseValue[A], B)
    Implicit
    This member is added by an implicit conversion from BaseValue[A] toArrowAssoc[BaseValue[A]] 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.

Inherited from Ordered[A]

Inherited from Comparable[A]

Inherited from Any

Inherited by implicit conversion orderingToOrdered fromBaseValue[A] to Ordered[BaseValue[A]]

Inherited by implicit conversion richDrxAny fromBaseValue[A] to DrxAny[BaseValue[A]]

Inherited by implicit conversion DrxBoundOps fromBaseValue[A] to BoundOps[BaseValue[A]]

Inherited by implicit conversion any2stringadd fromBaseValue[A] to any2stringadd[BaseValue[A]]

Inherited by implicit conversion StringFormat fromBaseValue[A] to StringFormat[BaseValue[A]]

Inherited by implicit conversion Ensuring fromBaseValue[A] to Ensuring[BaseValue[A]]

Inherited by implicit conversion ArrowAssoc fromBaseValue[A] to ArrowAssoc[BaseValue[A]]

Ungrouped