Package htsjdk.samtools.util
Enum AbstractRecordAndOffset.AlignmentType
- java.lang.Object
-
- java.lang.Enum<AbstractRecordAndOffset.AlignmentType>
-
- htsjdk.samtools.util.AbstractRecordAndOffset.AlignmentType
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractRecordAndOffset.AlignmentType>
- Enclosing class:
- AbstractRecordAndOffset
public static enum AbstractRecordAndOffset.AlignmentType extends Enum<AbstractRecordAndOffset.AlignmentType>
Classifies whether the given event is a match, insertion, or deletion. This is deliberately not expressed as CIGAR operators, since there is no knowledge of the CIGAR string at the time that this is determined.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractRecordAndOffset.AlignmentType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractRecordAndOffset.AlignmentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Match
public static final AbstractRecordAndOffset.AlignmentType Match
-
Insertion
public static final AbstractRecordAndOffset.AlignmentType Insertion
-
Deletion
public static final AbstractRecordAndOffset.AlignmentType Deletion
-
-
Method Detail
-
values
public static AbstractRecordAndOffset.AlignmentType[] 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 (AbstractRecordAndOffset.AlignmentType c : AbstractRecordAndOffset.AlignmentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractRecordAndOffset.AlignmentType 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
-
-