class QuantityType extends Number implements PrimitiveType, State, Command, Comparable<QuantityType<T>> {

    public QuantityType<T> negate() {
        return new QuantityType<>(quantity.multiply(-1));
    }

    @SuppressWarnings("unchecked") public  QuantityType();
    @SuppressWarnings("unchecked") public  QuantityType(String value);
    public  QuantityType(Number value, Unit<T> unit);
    private  QuantityType(Quantity<T> quantity);

}