public static enum Pulse.OutputMode extends java.lang.Enum<Pulse.OutputMode>
Enum Constant and Description |
---|
AREA
Returns a running sum of all samples in the pulse
|
PEAK
Returns the highest sample value in the pulse
|
WIDTH
Returns the number of samples in the pulse
|
Modifier and Type | Method and Description |
---|---|
static Pulse.OutputMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Pulse.OutputMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pulse.OutputMode WIDTH
public static final Pulse.OutputMode AREA
public static final Pulse.OutputMode PEAK
public static Pulse.OutputMode[] values()
for (Pulse.OutputMode c : Pulse.OutputMode.values()) System.out.println(c);
public static Pulse.OutputMode 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 null