Package htsjdk.samtools
Enum DownsamplingIteratorFactory.Strategy
- java.lang.Object
-
- java.lang.Enum<DownsamplingIteratorFactory.Strategy>
-
- htsjdk.samtools.DownsamplingIteratorFactory.Strategy
-
- All Implemented Interfaces:
Serializable
,Comparable<DownsamplingIteratorFactory.Strategy>
- Enclosing class:
- DownsamplingIteratorFactory
public static enum DownsamplingIteratorFactory.Strategy extends Enum<DownsamplingIteratorFactory.Strategy>
Describes the available downsampling strategies.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Chained
ConstantMemory
HighAccuracy
-
Field Summary
Fields Modifier and Type Field Description String
description
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Gets the description of the strategy.static DownsamplingIteratorFactory.Strategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static DownsamplingIteratorFactory.Strategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HighAccuracy
public static final DownsamplingIteratorFactory.Strategy HighAccuracy
-
ConstantMemory
public static final DownsamplingIteratorFactory.Strategy ConstantMemory
-
Chained
public static final DownsamplingIteratorFactory.Strategy Chained
-
-
Field Detail
-
description
public final String description
-
-
Method Detail
-
values
public static DownsamplingIteratorFactory.Strategy[] 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 (DownsamplingIteratorFactory.Strategy c : DownsamplingIteratorFactory.Strategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DownsamplingIteratorFactory.Strategy 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
-
getDescription
public String getDescription()
Gets the description of the strategy.
-
-