Class Quantity

    • Constructor Detail

      • Quantity

        public Quantity()
    • Method Detail

      • value

        public abstract Number value()
        Get the numerical value of this quantity.
        Returns:
        the value.
      • unit

        public abstract Unit<? extends Quantity> unit()
        Get the unit for this quantity.
        Returns:
        the unit.