|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<PropertyType>
edu.cmu.sphinx.util.props.PropertyType
public enum PropertyType
An enum type that defines the possible property types.
| Enum Constant Summary | |
|---|---|
BOOLEAN
|
|
COMPONENT
|
|
COMPONENT_LIST
|
|
DOUBLE
|
|
FLOAT
|
|
INT
|
|
RESOURCE
A Resource type. |
|
STRING
|
|
STRING_LIST
|
|
| Method Summary | |
|---|---|
boolean |
isValid(java.lang.Object obj)
Determines if the given object can be converted to this type. |
java.lang.String |
toString()
|
static PropertyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PropertyType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PropertyType INT
public static final PropertyType BOOLEAN
public static final PropertyType FLOAT
public static final PropertyType DOUBLE
public static final PropertyType COMPONENT
public static final PropertyType COMPONENT_LIST
public static final PropertyType STRING
public static final PropertyType RESOURCE
public static final PropertyType STRING_LIST
| Method Detail |
|---|
public static PropertyType[] values()
for (PropertyType c : PropertyType.values()) System.out.println(c);
public static PropertyType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<PropertyType>public boolean isValid(java.lang.Object obj)
obj - the object to verify
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||