squants.space

Volume

final class Volume extends Quantity[Volume] with TimeIntegral[motion.VolumeFlowRate]

Represents a quantity of Volume (three-dimensional space)

Since

0.1

Linear Supertypes
TimeIntegral[motion.VolumeFlowRate], Quantity[Volume], Serializable, Serializable, Ordered[Volume], Comparable[Volume], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Volume
  2. TimeIntegral
  3. Quantity
  4. Serializable
  5. Serializable
  6. Ordered
  7. Comparable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def %(that: Volume): Double

    Definition Classes
    Quantity
  5. def %(that: Double): Volume

    Definition Classes
    Quantity
  6. def *(that: EnergyDensity): Energy

  7. def *(that: Density): Mass

  8. def *(that: Double): Volume

    Definition Classes
    Quantity
  9. def +(that: Volume): Volume

    Definition Classes
    Quantity
  10. def +-(that: Volume): QuantityRange[Volume]

    Definition Classes
    Quantity
  11. def -(that: Volume): Volume

    Definition Classes
    Quantity
  12. def /(that: mass.ChemicalAmount): Nothing

  13. def /(that: Mass): Nothing

  14. def /(that: motion.VolumeFlowRate): Time

    Returns the amount time required to achieve the given change in the Derivative

    Returns the amount time required to achieve the given change in the Derivative

    that

    Derivative

    returns

    Definition Classes
    VolumeTimeIntegral
  15. def /(that: Time): motion.VolumeFlowRate

    Returns the Time Derivative which represents a change of the underlying quantity equal to this quantity over the given time.

    Returns the Time Derivative which represents a change of the underlying quantity equal to this quantity over the given time.

    that

    Time

    returns

    Definition Classes
    VolumeTimeIntegral
  16. def /(that: Length): Area

  17. def /(that: Area): Length

  18. def /(that: Volume): Double

    Definition Classes
    Quantity
  19. def /(that: Double): Volume

    Definition Classes
    Quantity
  20. def /%(that: Volume): (Double, Volume)

    Definition Classes
    Quantity
  21. def /%(that: Double): (Volume, Volume)

    Definition Classes
    Quantity
  22. def <(that: Volume): Boolean

    Definition Classes
    Ordered
  23. def <=(that: Volume): Boolean

    Definition Classes
    Ordered
  24. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  26. def =~(that: Volume)(implicit tolerance: Volume): Boolean

    approx

    approx

    Definition Classes
    Quantity
  27. def >(that: Volume): Boolean

    Definition Classes
    Ordered
  28. def >=(that: Volume): Boolean

    Definition Classes
    Ordered
  29. def abs: Volume

    Returns the absolute value of this Quantity

    Returns the absolute value of this Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  30. def approx(that: Volume)(implicit tolerance: Volume): Boolean

    Returns boolean result of approximate equality comparison

    Returns boolean result of approximate equality comparison

    that

    Quantity

    tolerance

    Quantity

    returns

    Definition Classes
    Quantity
  31. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  32. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def compare(that: Volume): Int

    Implements Ordered.

    Implements Ordered.compare

    that

    Quantity

    returns

    Int

    Definition Classes
    Quantity → Ordered
  34. def compareTo(that: Volume): Int

    Definition Classes
    Ordered → Comparable
  35. def divide(that: Volume): Double

    Divide this quantity by a like quantity

    Divide this quantity by a like quantity

    that

    Quantity

    returns

    Double

    Definition Classes
    Quantity
  36. def divide(that: Double): Volume

    Divide this quantity by some number

    Divide this quantity by some number

    that

    Double

    returns

    Quantity

    Definition Classes
    Quantity
  37. def divideAndRemainder(that: Volume): (Double, Volume)

    Returns a Pair that includes the result of divideToInteger and remainder

    Returns a Pair that includes the result of divideToInteger and remainder

    that

    Quantity

    returns

    (Double, Quantity)

    Definition Classes
    Quantity
  38. def divideAndRemainder(that: Double): (Volume, Volume)

    Returns a Pair that includes the result of divideToInteger and remainder

    Returns a Pair that includes the result of divideToInteger and remainder

    that

    Double

    returns

    (Quantity, Quantity)

    Definition Classes
    Quantity
  39. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  40. def equals(that: Any): Boolean

    Override of equals method

    Override of equals method

    that

    must be of matching value and unit

    returns

    Definition Classes
    Quantity → AnyRef → Any
  41. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  42. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  43. def hashCode(): Int

    Override of hashCode

    Override of hashCode

    returns

    Definition Classes
    Quantity → AnyRef → Any
  44. def in(unit: UnitOfMeasure[Volume]): Volume

    Returns an equivalent Quantity boxed with the supplied Unit

    Returns an equivalent Quantity boxed with the supplied Unit

    This is really only useful for Quantity classes that box at the UOM level e.g. Temperature and currently Time

    unit

    UnitOfMeasure[A]

    returns

    Quantity

    Definition Classes
    Quantity
  45. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  46. def max(that: Volume): Volume

    Returns the max of this and that Quantity

    Returns the max of this and that Quantity

    that

    Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  47. def min(that: Volume): Volume

    Returns the min of this and that Quantity

    Returns the min of this and that Quantity

    that

    Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  48. def minus(that: Volume): Volume

    Subtract two like quantities

    Subtract two like quantities

    that

    Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  49. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  50. def negate: Volume

    Returns the negative value of this Quantity

    Returns the negative value of this Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  51. def notWithin(range: QuantityRange[Volume]): Boolean

    Returns true if this value is not within (contains) the range

    Returns true if this value is not within (contains) the range

    range

    QuantityRange

    returns

    Boolean

    Definition Classes
    Quantity
  52. final def notify(): Unit

    Definition Classes
    AnyRef
  53. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  54. def plus(that: Volume): Volume

    Add two like quantities

    Add two like quantities

    that

    Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  55. def plusOrMinus(that: Volume): QuantityRange[Volume]

    Returns a QuantityRange representing the range for this value +- that

    Returns a QuantityRange representing the range for this value +- that

    that

    Quantity

    returns

    QuantityRange

    Definition Classes
    Quantity
  56. def remainder(that: Volume): Double

    Returns the remainder of a division by a like quantity

    Returns the remainder of a division by a like quantity

    that

    Quantity

    returns

    Double

    Definition Classes
    Quantity
  57. def remainder(that: Double): Volume

    Returns the remainder of a division by a number

    Returns the remainder of a division by a number

    that

    Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  58. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  59. def times(that: Double): Volume

    Multiply this quantity by some number

    Multiply this quantity by some number

    that

    Double

    returns

    Quantity

    Definition Classes
    Quantity
  60. def to(unit: UnitOfMeasure[Volume]): Double

    Returns a Double representing the quantity in terms of the supplied unit

    Returns a Double representing the quantity in terms of the supplied unit

    val d = Feet(3)
    (d to Inches) should be(36)
    unit

    UnitOfMeasure[A]

    returns

    Double

    Definition Classes
    Quantity
  61. def to(that: Volume): QuantityRange[Volume]

    Returns a QuantityRange that goes from this to that

    Returns a QuantityRange that goes from this to that

    that

    Quantity

    returns

    QuantityRange

    Definition Classes
    Quantity
  62. def toCentilitres: Double

  63. def toCubicFeet: Double

  64. def toCubicInches: Double

  65. def toCubicMeters: Double

  66. def toCubicMiles: Double

  67. def toCubicYards: Double

  68. def toDecilitres: Double

  69. def toFluidOunces: Double

  70. def toHectolitres: Double

  71. def toImperialCups: Double

  72. def toImperialGallons: Double

  73. def toImperialPints: Double

  74. def toImperialQuarts: Double

  75. def toLitres: Double

  76. def toMicrolitres: Double

  77. def toMillilitres: Double

  78. def toNanolitres: Double

  79. def toString(unit: UnitOfMeasure[Volume]): String

    Returns a string representing the quantity's value in the given unit

    Returns a string representing the quantity's value in the given unit

    unit

    UnitOfMeasure[A] with UnitConverter

    returns

    String

    Definition Classes
    Quantity
  80. def toString(): String

    Returns a string representing the quantity's value in valueUnits

    Returns a string representing the quantity's value in valueUnits

    returns

    String

    Definition Classes
    Quantity → AnyRef → Any
  81. def toTablespoons: Double

  82. def toTeaspoons: Double

  83. def toUsCups: Double

  84. def toUsDryCups: Double

  85. def toUsDryGallons: Double

  86. def toUsDryPints: Double

  87. def toUsDryQuarts: Double

  88. def toUsGallons: Double

  89. def toUsPints: Double

  90. def toUsQuarts: Double

  91. def unary_-(): Volume

    Definition Classes
    Quantity
  92. val value: Double

    value in squants.space.CubicMeters

    Definition Classes
    VolumeQuantity
  93. def valueUnit: CubicMeters.type

    The Unit of Measure used for the quantity's underlying value

    The Unit of Measure used for the quantity's underlying value

    returns

    UnitOfMeasure[A]

    Definition Classes
    VolumeQuantity
  94. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  95. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  96. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  97. def within(range: QuantityRange[Volume]): Boolean

    Returns true if this value is within (contains) the range

    Returns true if this value is within (contains) the range

    range

    QuantityRange

    returns

    Boolean

    Definition Classes
    Quantity
  98. def ~=(that: Volume)(implicit tolerance: Volume): Boolean

    approx - more natural operator but has low precedence and requires parens

    approx - more natural operator but has low precedence and requires parens

    Definition Classes
    Quantity

Inherited from Quantity[Volume]

Inherited from Serializable

Inherited from Serializable

Inherited from Ordered[Volume]

Inherited from Comparable[Volume]

Inherited from AnyRef

Inherited from Any

Ungrouped