public enum GTFField extends Enum<GTFField>
| Enum Constant and Description |
|---|
END |
FEATURE |
FRAME |
SCORE |
SEQNAME |
SOURCE |
START |
STRAND |
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
GTF_FIELD_NAMES
set containing all names of GTF fields
|
| Modifier and Type | Method and Description |
|---|---|
static GTFField |
fromString(String str)
Returns the GTF field matching an input string
|
Class<? extends de.unknownreality.dataframe.DataFrameColumn> |
getColType()
Column type of GTF field
|
int |
getIndex() |
String |
getName()
name of GTF field
|
static boolean |
isGTFField(String name)
returns true if the name matches a GTF field
|
Comparable |
parseValue(String value)
Parses an input string to the type specified by the respective column
|
String |
toString() |
static GTFField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GTFField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GTFField SEQNAME
public static final GTFField SOURCE
public static final GTFField FEATURE
public static final GTFField START
public static final GTFField END
public static final GTFField SCORE
public static final GTFField STRAND
public static final GTFField FRAME
public static GTFField[] values()
for (GTFField c : GTFField.values()) System.out.println(c);
public static GTFField 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 boolean isGTFField(String name)
name - input namepublic int getIndex()
public String getName()
public Class<? extends de.unknownreality.dataframe.DataFrameColumn> getColType()
public Comparable parseValue(String value)
value - input stringCopyright © 2017. All rights reserved.