Interface Scalar.Rel<U extends Unit<U>,​R extends Scalar.Rel<U,​R>>

    • Method Detail

      • plus

        R plus​(R increment)
        Add a Relative value to this Relative value. A new value is returned due to immutability.
        Parameters:
        increment - R; the value to add
        Returns:
        R; the sum of this value and the operand as a new object
      • minus

        R minus​(R decrement)
        Subtract a Relative value from this Relative value. A new value is returned due to immutability.
        Parameters:
        decrement - R; the value to subtract
        Returns:
        R; the difference of this value and the operand