Package picard.sam.util
Enum SamComparison.AlignmentComparison
- java.lang.Object
-
- java.lang.Enum<SamComparison.AlignmentComparison>
-
- picard.sam.util.SamComparison.AlignmentComparison
-
- All Implemented Interfaces:
Serializable
,Comparable<SamComparison.AlignmentComparison>
- Enclosing class:
- SamComparison
public static enum SamComparison.AlignmentComparison extends Enum<SamComparison.AlignmentComparison>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAPPINGS_DIFFER
MAPPINGS_MATCH
UNMAPPED_BOTH
UNMAPPED_LEFT
UNMAPPED_RIGHT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SamComparison.AlignmentComparison
valueOf(String name)
Returns the enum constant of this type with the specified name.static SamComparison.AlignmentComparison[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNMAPPED_BOTH
public static final SamComparison.AlignmentComparison UNMAPPED_BOTH
-
UNMAPPED_LEFT
public static final SamComparison.AlignmentComparison UNMAPPED_LEFT
-
UNMAPPED_RIGHT
public static final SamComparison.AlignmentComparison UNMAPPED_RIGHT
-
MAPPINGS_DIFFER
public static final SamComparison.AlignmentComparison MAPPINGS_DIFFER
-
MAPPINGS_MATCH
public static final SamComparison.AlignmentComparison MAPPINGS_MATCH
-
-
Method Detail
-
values
public static SamComparison.AlignmentComparison[] 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 (SamComparison.AlignmentComparison c : SamComparison.AlignmentComparison.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SamComparison.AlignmentComparison 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
-
-