public static enum ISamples.ProcessType extends Enum<ISamples.ProcessType>
Enum Constant and Description |
---|
Continuous |
Discrete |
Unknown |
Modifier and Type | Method and Description |
---|---|
static boolean |
equals(ISamples.ProcessType type,
Signal signal)
Returns true if signals process type is same as type.
|
boolean |
equals(Signal signal)
Returns true if signal has same process type.
|
static String[] |
getOptions(boolean includeUnknown)
Returns all process type options as string.
|
static ISamples.ProcessType |
parse(String processType)
Parse the process type from a string.
|
static String |
toString(ISamples.ProcessType type)
Converts process type to string representation.
|
static ISamples.ProcessType |
valueOf(Signal signal)
Extract the process type of a signal.
|
static ISamples.ProcessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ISamples.ProcessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ISamples.ProcessType Unknown
public static final ISamples.ProcessType Discrete
public static final ISamples.ProcessType Continuous
public static ISamples.ProcessType[] values()
for (ISamples.ProcessType c : ISamples.ProcessType.values()) System.out.println(c);
public static ISamples.ProcessType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ISamples.ProcessType valueOf(Signal signal)
signal
- Signal to extract type.public static ISamples.ProcessType parse(String processType)
processType
- String containing the process type.public boolean equals(Signal signal)
signal
- Signal reference.public static boolean equals(ISamples.ProcessType type, Signal signal)
type
- process type to be compared.signal
- Signal object to be compared.public static String toString(ISamples.ProcessType type)
type
- Process type enumeration.public static String[] getOptions(boolean includeUnknown)
includeUnknown
- TODO