public enum MS_Polarity extends Enum<MS_Polarity>
| Enum Constant and Description |
|---|
MS_AnyPolarity
The value of this constant is 2
|
MS_Negative
The value of this constant is 0
|
MS_Positive
The value of this constant is 1
|
| Modifier and Type | Method and Description |
|---|---|
static MS_Polarity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MS_Polarity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MS_Polarity MS_Negative
The value of this constant is 0
public static final MS_Polarity MS_Positive
The value of this constant is 1
public static final MS_Polarity MS_AnyPolarity
The value of this constant is 2
public static MS_Polarity[] values()
for (MS_Polarity c : MS_Polarity.values()) System.out.println(c);
public static MS_Polarity 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 nullCopyright © 2017. All rights reserved.