Package htsjdk.variant.vcf
Enum VCFHeader.HEADER_FIELDS
- java.lang.Object
-
- java.lang.Enum<VCFHeader.HEADER_FIELDS>
-
- htsjdk.variant.vcf.VCFHeader.HEADER_FIELDS
-
- All Implemented Interfaces:
Serializable
,Comparable<VCFHeader.HEADER_FIELDS>
- Enclosing class:
- VCFHeader
public static enum VCFHeader.HEADER_FIELDS extends Enum<VCFHeader.HEADER_FIELDS>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VCFHeader.HEADER_FIELDS
valueOf(String name)
Returns the enum constant of this type with the specified name.static VCFHeader.HEADER_FIELDS[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHROM
public static final VCFHeader.HEADER_FIELDS CHROM
-
POS
public static final VCFHeader.HEADER_FIELDS POS
-
ID
public static final VCFHeader.HEADER_FIELDS ID
-
REF
public static final VCFHeader.HEADER_FIELDS REF
-
ALT
public static final VCFHeader.HEADER_FIELDS ALT
-
QUAL
public static final VCFHeader.HEADER_FIELDS QUAL
-
FILTER
public static final VCFHeader.HEADER_FIELDS FILTER
-
INFO
public static final VCFHeader.HEADER_FIELDS INFO
-
-
Method Detail
-
values
public static VCFHeader.HEADER_FIELDS[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VCFHeader.HEADER_FIELDS c : VCFHeader.HEADER_FIELDS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VCFHeader.HEADER_FIELDS valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-