@ReadingConverter public static enum OtherConverters.StringToBigDecimal extends Enum<OtherConverters.StringToBigDecimal> implements Converter<String,BigDecimal>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
convert(String source) |
static OtherConverters.StringToBigDecimal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OtherConverters.StringToBigDecimal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OtherConverters.StringToBigDecimal INSTANCE
public static OtherConverters.StringToBigDecimal[] values()
for (OtherConverters.StringToBigDecimal c : OtherConverters.StringToBigDecimal.values()) System.out.println(c);
public static OtherConverters.StringToBigDecimal valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic BigDecimal convert(String source)
convert in interface Converter<String,BigDecimal>Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.