org.rrd4j.core.jrrd
Enum ConsolidationFunctionType

java.lang.Object
  extended by java.lang.Enum<ConsolidationFunctionType>
      extended by org.rrd4j.core.jrrd.ConsolidationFunctionType
All Implemented Interfaces:
Serializable, Comparable<ConsolidationFunctionType>

public enum ConsolidationFunctionType
extends Enum<ConsolidationFunctionType>

Class ConsolidationFunctionType

Version:
$Revision: 1.1 $
Author:
Ciaran Treanor

Enum Constant Summary
AVERAGE
           
DEVPREDICT
           
DEVSEASONAL
           
FAILURES
           
HWPREDICT
           
LAST
           
MAX
           
MHWPREDICT
           
MIN
           
SEASONAL
           
 
Method Summary
static ConsolidationFunctionType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ConsolidationFunctionType[] 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

AVERAGE

public static final ConsolidationFunctionType AVERAGE

MIN

public static final ConsolidationFunctionType MIN

MAX

public static final ConsolidationFunctionType MAX

LAST

public static final ConsolidationFunctionType LAST

HWPREDICT

public static final ConsolidationFunctionType HWPREDICT

SEASONAL

public static final ConsolidationFunctionType SEASONAL

DEVPREDICT

public static final ConsolidationFunctionType DEVPREDICT

DEVSEASONAL

public static final ConsolidationFunctionType DEVSEASONAL

FAILURES

public static final ConsolidationFunctionType FAILURES

MHWPREDICT

public static final ConsolidationFunctionType MHWPREDICT
Method Detail

values

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

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

valueOf

public static ConsolidationFunctionType 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 © 2011. All Rights Reserved.