Package adams.data.container
Enum DataContainerUtils.GapFilling
- java.lang.Object
-
- java.lang.Enum<DataContainerUtils.GapFilling>
-
- adams.data.container.DataContainerUtils.GapFilling
-
- All Implemented Interfaces:
Serializable
,Comparable<DataContainerUtils.GapFilling>
- Enclosing class:
- DataContainerUtils
public static enum DataContainerUtils.GapFilling extends Enum<DataContainerUtils.GapFilling>
An enumeration of types of gap-filling.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataContainerUtils.GapFilling
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataContainerUtils.GapFilling[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOTHING
public static final DataContainerUtils.GapFilling NOTHING
nothing is done.
-
ORIGINAL
public static final DataContainerUtils.GapFilling ORIGINAL
adds data points with the original y.
-
ZERO
public static final DataContainerUtils.GapFilling ZERO
adds data points with zero y.
-
CONNECT
public static final DataContainerUtils.GapFilling CONNECT
adds data points with abundances that are on a straight line connecting the borders of the gap.
-
-
Method Detail
-
values
public static DataContainerUtils.GapFilling[] 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 (DataContainerUtils.GapFilling c : DataContainerUtils.GapFilling.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataContainerUtils.GapFilling 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 nameNullPointerException
- if the argument is null
-
-