Enum Class Frame
- All Implemented Interfaces:
Serializable
,Comparable<Frame>
,Constable
Indicates a way of translating a sequence.
- Author:
- ayates
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Frame[]
Delegates tovalues()
static Frame
static Frame[]
Returns all frames in the forward orientationstatic Frame[]
Returns all frames which are in the reverse orientationstatic Frame
Returns the enum constant of this class with the specified name.static Frame[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.<C extends NucleotideCompound>
Sequence<C>Optionally wraps a Sequence in a reverse complementing view (if the frame is on the reverse strand) and creates a sub sequence view if it is required.
-
Enum Constant Details
-
ONE
-
TWO
-
THREE
-
REVERSED_ONE
-
REVERSED_TWO
-
REVERSED_THREE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getDefaultFrame
-
getForwardFrames
Returns all frames in the forward orientation -
getReverseFrames
Returns all frames which are in the reverse orientation -
getAllFrames
Delegates tovalues()
-
wrap
-