public enum Level extends java.lang.Enum<Level> implements WaveformGeneratorFactory
Modifier and Type | Method and Description |
---|---|
abstract WaveformGenerator |
createWaveformGenerator() |
double |
getReleativePower() |
java.lang.String |
toString() |
static Level |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Level TWO
public static final Level THREE
public static final Level FOUR
public static final Level FIVE
public static final Level SEVEN
public static Level[] values()
for (Level c : Level.values()) System.out.println(c);
public static Level valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Level>
public double getReleativePower()
getReleativePower
in interface WaveformGeneratorFactory
public abstract WaveformGenerator createWaveformGenerator()
createWaveformGenerator
in interface WaveformGeneratorFactory