adams.flow.transformer
Enum WekaInstancesStatistic.DataType

java.lang.Object
  extended by java.lang.Enum<WekaInstancesStatistic.DataType>
      extended by adams.flow.transformer.WekaInstancesStatistic.DataType
All Implemented Interfaces:
Serializable, Comparable<WekaInstancesStatistic.DataType>
Enclosing class:
WekaInstancesStatistic

public static enum WekaInstancesStatistic.DataType
extends Enum<WekaInstancesStatistic.DataType>

Defines what data to retrieve from an Instances object.

Version:
$Revision: 4584 $
Author:
fracpete (fracpete at waikato dot ac dot nz)

Enum Constant Summary
COLUMN_BY_INDEX
          obtains columns (by index).
COLUMN_BY_REGEXP
          obtains columns (by reg exp).
ROW_BY_INDEX
          obtains rows.
 
Method Summary
static WekaInstancesStatistic.DataType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WekaInstancesStatistic.DataType[] 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

ROW_BY_INDEX

public static final WekaInstancesStatistic.DataType ROW_BY_INDEX
obtains rows.


COLUMN_BY_INDEX

public static final WekaInstancesStatistic.DataType COLUMN_BY_INDEX
obtains columns (by index).


COLUMN_BY_REGEXP

public static final WekaInstancesStatistic.DataType COLUMN_BY_REGEXP
obtains columns (by reg exp).

Method Detail

values

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

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

valueOf

public static WekaInstancesStatistic.DataType 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


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.