public enum SecStrucType extends Enum<SecStrucType>
When compared, the types are sorted in the declaration order of the enum, which is the DSSP preference of type assignment.
Enum Constant and Description |
---|
bend |
bridge |
coil |
extended |
helix3 |
helix4 |
helix5 |
turn |
Modifier and Type | Method and Description |
---|---|
static SecStrucType |
fromCharacter(Character stype)
Converts a Character representing a Secondary Structure type into the
corresponding enum object.
|
boolean |
isBetaStrand()
A Beta-Strand is an extended set of sequential Bridges that, together
with other Beta-Strands, is part of a Beta-Sheet.
|
boolean |
isHelixType()
Helix type can be 3-10 helix, pi-helix or alpha-helix.
|
String |
toString() |
static SecStrucType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecStrucType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecStrucType helix4
public static final SecStrucType extended
public static final SecStrucType bridge
public static final SecStrucType helix3
public static final SecStrucType helix5
public static final SecStrucType turn
public static final SecStrucType bend
public static final SecStrucType coil
public static SecStrucType[] values()
for (SecStrucType c : SecStrucType.values()) System.out.println(c);
public static SecStrucType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SecStrucType fromCharacter(Character stype)
stype
- the character representing the SS typepublic String toString()
toString
in class Enum<SecStrucType>
public boolean isHelixType()
public boolean isBetaStrand()
Copyright © 2000–2016 BioJava. All rights reserved.