by<V extends Measurement<V>> method

DerivedMeasurement<Measurement<T>, Measurement<V>> by<V extends Measurement<V>>(
  1. Measurement<V> other
)

Creates a derived unit that is the multiplication of this measurement with another.

For example:

var squareMeters = meters(2).by(meters(3));
var coulombs = seconds(4).by(amperes(10));

Implementation

DerivedMeasurement<Measurement<T>, Measurement<V>>
    by<V extends Measurement<V>>(final Measurement<V> other) =>
        DerivedMeasurement.multiply(this, other);