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