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