trait
Quantum
extends AnyRef
Abstract Value Members
-
def
newUnitOfMeasurement
(conversion: Option[CGE] = None, name: Option[String] = None, symbol: Option[String] = None, link: Option[String] = None): UOM
-
val
wikipediaUrl
: String
-
def
zero
(): UOM
Concrete Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
asInstanceOf
[T0]
: T0
-
def
bdDivide
(numerator: BigDecimal, denominator: BigDecimal): BigDecimal
-
def
clone
(): AnyRef
-
val
conversionGraph
: G[UOM, BigDecimal]
-
def
derive
(compoundUnit: UnitOfMeasurement, nameOpt: Option[String] = None, symbolOpt: Option[String] = None, linkOpt: Option[String] = None): UOM
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
isInstanceOf
[T0]
: Boolean
-
def
link
(base: UOM, multiple: BigDecimal, result: UOM): Unit
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
val
oneBD
: BigDecimal
-
def
quantity
(magnitude: BigDecimal, unit: UOM, qname: Option[String] = None, qsymbol: Option[String] = None, qlink: Option[String] = None): UOM
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
implicit def
toBD
(s: String): BigDecimal
-
implicit def
toBD
(d: Double): BigDecimal
-
implicit def
toBD
(i: Int): BigDecimal
-
def
toString
(): String
-
def
unit
(name: String, symbol: String, linkOpt: Option[String] = None): UOM
-
-
def
vertexFor
(uom: UOM): CGV
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
-
val
zeroBD
: BigDecimal
Inherited from AnyRef
Inherited from Any
TODO
HSet for numerator + HSet for denominator ? name, symbol, link for new units resulting from by and over derive should heck that the given compound unit is in this quantum's list of derivations? derive should add the compoundUnit to the graph? reconcile newEdge(source, dest) and newEdge(source, dest, magnitude)