Package pal.datatype
Class MolecularDataType.Utils
java.lang.Object
pal.datatype.MolecularDataType.Utils
- Enclosing interface:
MolecularDataType
Utilities relating to MolecularDataType stuff
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final MolecularDataType
Converts (if possible) a DataType into a MolecularDataType.
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
getMolecularDataType
Converts (if possible) a DataType into a MolecularDataType. This is done by either casting (if input is already a MolecularDataType) or, if the DataType represents AminoAcids returning a SpecificAminoAcids object based on the Universal Codon Table- Parameters:
dt
- the base DataType- Returns:
- null if not possible to derive a MolecularDataType
-