com.barchart.udt
Enum OptionUDT.Format
java.lang.Object
java.lang.Enum<OptionUDT.Format>
com.barchart.udt.OptionUDT.Format
- All Implemented Interfaces:
- Serializable, Comparable<OptionUDT.Format>
- Enclosing class:
- OptionUDT<T>
public static enum OptionUDT.Format
- extends Enum<OptionUDT.Format>
render options in human format
DECIMAL
public static final OptionUDT.Format DECIMAL
BINARY
public static final OptionUDT.Format BINARY
BOOLEAN
public static final OptionUDT.Format BOOLEAN
DEFAULT
public static final OptionUDT.Format DEFAULT
values
public static OptionUDT.Format[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (OptionUDT.Format c : OptionUDT.Format.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static OptionUDT.Format valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
convert
public abstract String convert(Object value)
Copyright © 2009-2013 Barchart, Inc.. All Rights Reserved.