Package htsjdk.samtools.cram.lossy
Enum ReadCategoryType
- java.lang.Object
-
- java.lang.Enum<ReadCategoryType>
-
- htsjdk.samtools.cram.lossy.ReadCategoryType
-
- All Implemented Interfaces:
Serializable
,Comparable<ReadCategoryType>
public enum ReadCategoryType extends Enum<ReadCategoryType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
HIGHER_MAPPING_SCORE
LOWER_MAPPING_SCORE
UNPLACED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReadCategoryType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReadCategoryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNPLACED
public static final ReadCategoryType UNPLACED
-
HIGHER_MAPPING_SCORE
public static final ReadCategoryType HIGHER_MAPPING_SCORE
-
LOWER_MAPPING_SCORE
public static final ReadCategoryType LOWER_MAPPING_SCORE
-
ALL
public static final ReadCategoryType ALL
-
-
Method Detail
-
values
public static ReadCategoryType[] 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 (ReadCategoryType c : ReadCategoryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReadCategoryType 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
-
-