meshi.energy.solvate
Enum SolvateEnergy.SuperType
java.lang.Object
java.lang.Enum<SolvateEnergy.SuperType>
meshi.energy.solvate.SolvateEnergy.SuperType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SolvateEnergy.SuperType>
- Enclosing class:
- SolvateEnergy
private static enum SolvateEnergy.SuperType
- extends java.lang.Enum<SolvateEnergy.SuperType>
Setting the general type for each atom in the atom list: (0) Carbon (1) Backbone polar, (2) Sidechain polar (3) Hydrogens
This is done to save time on type checking. The index to the array is the index of an atom in the atom list.
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
CARBON
public static final SolvateEnergy.SuperType CARBON
BACKBONE_POLAR
public static final SolvateEnergy.SuperType BACKBONE_POLAR
SIDECHAIN_POLAR
public static final SolvateEnergy.SuperType SIDECHAIN_POLAR
HYDROGEN
public static final SolvateEnergy.SuperType HYDROGEN
values
public static SolvateEnergy.SuperType[] 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 (SolvateEnergy.SuperType c : SolvateEnergy.SuperType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SolvateEnergy.SuperType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null