Class RelativeSolvationType
java.lang.Object
ffx.potential.parameters.BaseType
ffx.potential.parameters.RelativeSolvationType
- All Implemented Interfaces:
Comparator<String>
A BaseType for relative solvation energies (intended for nonstandard amino acids).
- Since:
- 1.0
- Author:
- Michael J. Schnieders, Jacob M. Litman
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionRelativeSolvationType(String resname, double solvEnergy) Constructor for RelativeSolvationType. -
Method Summary
Modifier and TypeMethodDescriptionintbooleanGetter for the fieldresName.doubleGetter for the fieldsolvEnergy.inthashCode()static RelativeSolvationTypeConstruct a RelativeSolvationType from an input string.toString()Methods inherited from interface Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
RelativeSolvationType
-
-
Method Details
-
parse
Construct a RelativeSolvationType from an input string.- Parameters:
input- The overall input String.tokens- The input String tokenized.- Returns:
- a RelativeSolvationType instance.
-
compare
- Specified by:
comparein interfaceComparator<String>
-
equals
-
getResName
-
getSolvEnergy
public double getSolvEnergy()Getter for the fieldsolvEnergy.- Returns:
- a double.
-
hashCode
-
toString
-