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