Package htsjdk.variant.vcf
Enum VCFHeaderLineType
- java.lang.Object
-
- java.lang.Enum<VCFHeaderLineType>
-
- htsjdk.variant.vcf.VCFHeaderLineType
-
- All Implemented Interfaces:
Serializable
,Comparable<VCFHeaderLineType>
public enum VCFHeaderLineType extends Enum<VCFHeaderLineType>
the type encodings we use for fields in VCF header lines
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VCFHeaderLineType
valueOf(String name)
Returns the enum constant of this type with the specified name.static VCFHeaderLineType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Integer
public static final VCFHeaderLineType Integer
-
Float
public static final VCFHeaderLineType Float
-
String
public static final VCFHeaderLineType String
-
Character
public static final VCFHeaderLineType Character
-
Flag
public static final VCFHeaderLineType Flag
-
-
Method Detail
-
values
public static VCFHeaderLineType[] 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 (VCFHeaderLineType c : VCFHeaderLineType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VCFHeaderLineType 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
-
-