Class DoubleAmountOperations
java.lang.Object
com.refinedmods.refinedstorage.common.support.amount.DoubleAmountOperations
- All Implemented Interfaces:
AmountOperations<Double>
-
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
-
-
Method Details
-
format
- Specified by:
format
in interfaceAmountOperations<Double>
-
parse
- Specified by:
parse
in interfaceAmountOperations<Double>
-
validate
public Optional<Double> validate(Double amount, @Nullable Double minAmount, @Nullable Double maxAmount) - Specified by:
validate
in interfaceAmountOperations<Double>
-
changeAmount
public Double changeAmount(@Nullable Double current, int delta, @Nullable Double minAmount, @Nullable Double maxAmount) - Specified by:
changeAmount
in interfaceAmountOperations<Double>
-