public class AmountResolver
extends java.lang.Object
Constructor and Description |
---|
AmountResolver() |
Modifier and Type | Method and Description |
---|---|
static java.math.BigDecimal |
amount(Field f)
Gets the amount of the given field by reading it's components pattern.
|
static java.util.List<java.math.BigDecimal> |
amounts(Field f)
Gets the amounts of the given field by reading it's components pattern.
|
static java.util.List<java.math.BigDecimal> |
amounts(Field f,
int... component)
Deprecated.
use
amounts(Field) instead |
@Deprecated @ProwideDeprecated(phase4=_2019) public static java.util.List<java.math.BigDecimal> amounts(Field f, int... component)
amounts(Field)
insteadpublic static java.util.List<java.math.BigDecimal> amounts(Field f)
f
- the field where to extract the amounts, must not be nullField.getComponentAs(int, Class)
public static java.math.BigDecimal amount(Field f)
f
- the field where to extract the amount, must not be nullField.getComponentAs(int, Class)