Package adams.data.filter
Enum AbstractFastWavelet.WaveletType
- java.lang.Object
-
- java.lang.Enum<AbstractFastWavelet.WaveletType>
-
- adams.data.filter.AbstractFastWavelet.WaveletType
-
- All Implemented Interfaces:
EnumWithCustomDisplay<AbstractFastWavelet.WaveletType>
,EnumWithCustomParsing<AbstractFastWavelet.WaveletType>
,Serializable
,Comparable<AbstractFastWavelet.WaveletType>
- Enclosing class:
- AbstractFastWavelet<T extends DataContainer>
public static enum AbstractFastWavelet.WaveletType extends Enum<AbstractFastWavelet.WaveletType> implements EnumWithCustomDisplay<AbstractFastWavelet.WaveletType>
The type of available wavelets.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CDF2_4
CDF2 4.DAUBECHIES2
Daubechies2.HAAR
Haar.SYMMLET8
Symmlet8.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractFastWavelet.WaveletType
parse(String s)
Parses the given string and returns the associated enum.String
toDisplay()
Returns the display string.String
toRaw()
Returns the raw enum string.String
toString()
Returns the displays string.static String
toString(AbstractOption option, Object object)
Returns the enum as string.static AbstractFastWavelet.WaveletType
valueOf(AbstractOption option, String str)
Returns an enum generated from the string.static AbstractFastWavelet.WaveletType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractFastWavelet.WaveletType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HAAR
public static final AbstractFastWavelet.WaveletType HAAR
Haar.
-
CDF2_4
public static final AbstractFastWavelet.WaveletType CDF2_4
CDF2 4.
-
DAUBECHIES2
public static final AbstractFastWavelet.WaveletType DAUBECHIES2
Daubechies2.
-
SYMMLET8
public static final AbstractFastWavelet.WaveletType SYMMLET8
Symmlet8.
-
-
Method Detail
-
values
public static AbstractFastWavelet.WaveletType[] 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 (AbstractFastWavelet.WaveletType c : AbstractFastWavelet.WaveletType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractFastWavelet.WaveletType 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
-
toDisplay
public String toDisplay()
Returns the display string.- Specified by:
toDisplay
in interfaceEnumWithCustomDisplay<AbstractFastWavelet.WaveletType>
- Returns:
- the display string
-
toRaw
public String toRaw()
Returns the raw enum string.- Specified by:
toRaw
in interfaceEnumWithCustomDisplay<AbstractFastWavelet.WaveletType>
- Returns:
- the raw enum string
-
parse
public AbstractFastWavelet.WaveletType parse(String s)
Parses the given string and returns the associated enum.- Specified by:
parse
in interfaceEnumWithCustomParsing<AbstractFastWavelet.WaveletType>
- Parameters:
s
- the string to parse- Returns:
- the enum or null if not found
-
toString
public String toString()
Returns the displays string.- Overrides:
toString
in classEnum<AbstractFastWavelet.WaveletType>
- Returns:
- the display string
-
toString
public static String toString(AbstractOption option, Object object)
Returns the enum as string.- Parameters:
option
- the current optionobject
- the enum object to convert- Returns:
- the generated string
-
valueOf
public static AbstractFastWavelet.WaveletType valueOf(AbstractOption option, String str)
Returns an enum generated from the string.- Parameters:
option
- the current optionstr
- the string to convert to an enum- Returns:
- the generated enum or null in case of error
-
-