public enum Waveform extends java.lang.Enum<Waveform> implements WaveformGeneratorFactory
Enum Constant and Description |
---|
COSINE |
DC |
DIRAC_DELTA |
LAPLACE |
RANDOM_SQUARE |
SAWTOOTH |
SINE |
SQUARE |
TRIANGLE |
Modifier and Type | Method and Description |
---|---|
abstract WaveformGenerator |
createWaveformGenerator() |
double |
getReleativePower() |
java.lang.String |
toString() |
static Waveform |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Waveform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Waveform SINE
public static final Waveform COSINE
public static final Waveform TRIANGLE
public static final Waveform SAWTOOTH
public static final Waveform SQUARE
public static final Waveform DC
public static final Waveform RANDOM_SQUARE
public static final Waveform LAPLACE
public static final Waveform DIRAC_DELTA
public static Waveform[] values()
for (Waveform c : Waveform.values()) System.out.println(c);
public static Waveform 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<Waveform>
public double getReleativePower()
getReleativePower
in interface WaveformGeneratorFactory
public abstract WaveformGenerator createWaveformGenerator()
createWaveformGenerator
in interface WaveformGeneratorFactory