class Quantity[U <: Unit[_]] extends Equals
A physical quantity composed of a magnitude and a unit.
- Alphabetic
- By Inheritance
- Quantity
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def *(s: Double): Quantity[U]
- def *[V <: Unit[_], W <: Unit[_]](other: Quantity[V])(implicit mul: Mul4[Unit[U], Unit[V], Unit[W]]): Quantity[W]
- def +[V >: U <: Unit[V]](other: Quantity[V]): Quantity[V]
- def -[V >: U <: Unit[V]](other: Quantity[V]): Quantity[V]
- def /[V <: Unit[_], W <: Unit[_]](other: Quantity[V])(implicit div: Div4[Unit[U], Unit[V], Unit[W]]): Quantity[W]
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(other: Any): Boolean
- Definition Classes
- Quantity → Equals
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- Quantity → Equals → AnyRef → Any
-
def
finalize(): scala.Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- Quantity → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val magnitude: Double
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): scala.Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): scala.Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Quantity → AnyRef → Any
- val unit: Unit[U]
-
final
def
wait(): scala.Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): scala.Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): scala.Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
~=(other: Quantity[_])(implicit tolerance: Tolerance[Double]): Boolean
Compares quantities within tolerance.