@ReadingConverter public static enum OtherConverters.StringToBigInteger extends Enum<OtherConverters.StringToBigInteger> implements Converter<String,BigInteger>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
BigInteger |
convert(String source) |
static OtherConverters.StringToBigInteger |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OtherConverters.StringToBigInteger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OtherConverters.StringToBigInteger INSTANCE
public static OtherConverters.StringToBigInteger[] values()
for (OtherConverters.StringToBigInteger c : OtherConverters.StringToBigInteger.values()) System.out.println(c);
public static OtherConverters.StringToBigInteger 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 BigInteger convert(String source)
convert
in interface Converter<String,BigInteger>
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.