anl.aida.ae.gate
Enum FeatureType

java.lang.Object
  extended by java.lang.Enum<FeatureType>
      extended by anl.aida.ae.gate.FeatureType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FeatureType>

public enum FeatureType
extends java.lang.Enum<FeatureType>

Enumeration of the java type of a Feature value.


Enum Constant Summary
BOOLEAN
           
DOUBLE
           
FLOAT
           
FSARRAY
           
INT
           
LONG
           
STRING
           
 
Method Summary
static FeatureType parse(java.lang.String val)
          Returns a FeatureType identified by the specified string.
static FeatureType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FeatureType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STRING

public static final FeatureType STRING

FLOAT

public static final FeatureType FLOAT

DOUBLE

public static final FeatureType DOUBLE

LONG

public static final FeatureType LONG

INT

public static final FeatureType INT

BOOLEAN

public static final FeatureType BOOLEAN

FSARRAY

public static final FeatureType FSARRAY
Method Detail

values

public static FeatureType[] 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 (FeatureType c : FeatureType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FeatureType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

parse

public static FeatureType parse(java.lang.String val)
Returns a FeatureType identified by the specified string. The strings are: string, float, double, long, int, fsarray.

Parameters:
val - the string representation of the FeatureType
Returns:
the FeatureType identified by the specified string, otherwise null.