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