public enum DsspType extends Enum<DsspType> implements Serializable
Enum Constant and Description |
---|
ALPHA_HELIX
An alpha helix.
|
BEND
A bend
|
BRIDGE
A bridge.
|
COIL
A coil.
|
EXTENDED
An extended loop.
|
HELIX_3_10
A 3-10 alpha helix.
|
NULL_ENTRY
A null entry - or an entry not recognised.
|
PI_HELIX
A pi helix.
|
TURN
A turn.
|
Modifier and Type | Method and Description |
---|---|
static DsspType |
dsspTypeFromInt(int dsspType)
Creates a new DsspType from an int val
Returns DsspType.NULL_ENTRY if dsspType is -1 or not one of the supported
standard types.
|
static DsspType |
dsspTypeFromString(String dsspType)
Creates a new DsspType from a String value.
|
int |
getDsspIndex()
Returns the index of the Dssp as an integer
|
String |
getDsspType()
Returns the type of the DSSP as a String
|
static DsspType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DsspType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DsspType PI_HELIX
public static final DsspType BEND
public static final DsspType ALPHA_HELIX
public static final DsspType EXTENDED
public static final DsspType HELIX_3_10
public static final DsspType BRIDGE
public static final DsspType TURN
public static final DsspType COIL
public static final DsspType NULL_ENTRY
public static DsspType[] values()
for (DsspType c : DsspType.values()) System.out.println(c);
public static DsspType 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 String getDsspType()
public int getDsspIndex()
public static DsspType dsspTypeFromString(String dsspType)
dsspType
- String value , should be one of "pi Helix","Bend","alpha Helix","Extended",
"3-10 Helix","Bridge","Turn","Coil","NA"public static DsspType dsspTypeFromInt(int dsspType)
dsspType
- int value , should be an integer value from -1 to 7Copyright © 2015–2016 RCSB PDB. All rights reserved.