| Modifier and Type | Method and Description |
|---|---|
static Strand |
toStrand(java.lang.String encoding)
provide a way to take an encoding string, and produce a Strand
|
static Strand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Strand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Strand POSITIVE
public static final Strand NEGATIVE
public static final Strand NONE
public static Strand[] values()
for (Strand c : Strand.values()) System.out.println(c);
public static Strand 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 static Strand toStrand(java.lang.String encoding)
encoding - the encoding string