VolumeUnit

trait Serializable
class Object
trait Matchable
class Any
object AcreFeet
object CubicFeet
object CubicYards
object Decilitres
object Litres
object Nanolitres
object Teaspoons
object UsCups
object UsDryCups
object UsDryPints
object UsGallons
object UsPints
object UsQuarts

Value members

Concrete methods

def apply[A](n: A)(implicit num: Numeric[A]): Volume

Inherited methods

protected def conversionFactor: Double

Defines a multiplier value relative to the Quantity's squants.PrimaryUnit

Defines a multiplier value relative to the Quantity's squants.PrimaryUnit

Inherited from
UnitConverter
final def convertFrom[N](n: N)(implicit num: Numeric[N]): Double

Applies the converterFrom method to a value

Applies the converterFrom method to a value

Type Params
N

Type

Value Params
n

N value in terms of this Unit

num

Numeric[N]

Inherited from
UnitOfMeasure
final def convertTo[N](n: N)(implicit num: Numeric[N]): Double

Applies the converterTo method to a value

Applies the converterTo method to a value

Type Params
N

Type

Value Params
n

N value in terms of the ValueUnit

num

Numeric[N]

Inherited from
UnitOfMeasure
protected def converterFrom: Double => Double

Implements the converterFrom method as a simple product of the value and the multiplier

Implements the converterFrom method as a simple product of the value and the multiplier

Inherited from
UnitConverter
protected def converterTo: Double => Double

Implements the converterTo method as a simple quotient of the value and the multiplier

Implements the converterTo method as a simple quotient of the value and the multiplier

Inherited from
UnitConverter
def symbol: String

Symbol used when representing Quantities in this UnitOfMeasure

Symbol used when representing Quantities in this UnitOfMeasure

Inherited from
UnitOfMeasure
def unapply(q: Volume): Some[Double]

Extractor method for getting the Numeric value of a Quantity in this UnitOfMeasure

Extractor method for getting the Numeric value of a Quantity in this UnitOfMeasure

Value Params
q

A - The Quantity being matched

Inherited from
UnitOfMeasure