public enum Strand extends Enum<Strand>
Enum Constant and Description |
---|
FWD
forward strand
|
REV
reverse strand
|
Modifier and Type | Method and Description |
---|---|
boolean |
isForward() |
boolean |
isReverse() |
String |
toString() |
Strand |
valueOf(char strand) |
static Strand |
valueOf(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 FWD
public static final Strand REV
public static Strand[] values()
for (Strand c : Strand.values()) System.out.println(c);
public static Strand 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 boolean isForward()
true
if this is the forward strandpublic boolean isReverse()
true
if this is the reverse strandCopyright © 2016. All rights reserved.