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