org.codehaus.jet.hypothesis
Enum HypothesisTest

java.lang.Object
  extended by java.lang.Enum<HypothesisTest>
      extended by org.codehaus.jet.hypothesis.HypothesisTest
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HypothesisTest>

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

Enumeration of available hypothesis tests.

Author:
Mauro Talevi

Enum Constant Summary
ECM
           
JOHANSEN
           
LRC
           
URC
           
 
Method Summary
 java.lang.String getName()
           
static HypothesisTest getTest(java.lang.String name)
           
 java.lang.String toString()
           
static HypothesisTest valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HypothesisTest[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

URC

public static final HypothesisTest URC

ECM

public static final HypothesisTest ECM

LRC

public static final HypothesisTest LRC

JOHANSEN

public static final HypothesisTest JOHANSEN
Method Detail

values

public static final HypothesisTest[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(HypothesisTest c : HypothesisTest.values())
        System.out.println(c);

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

valueOf

public static HypothesisTest 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

getName

public java.lang.String getName()

getTest

public static HypothesisTest getTest(java.lang.String name)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<HypothesisTest>


Copyright © 2006-2007. All Rights Reserved.