pal.datatype
Class MolecularDataType.Utils

java.lang.Object
  extended by pal.datatype.MolecularDataType.Utils
Enclosing interface:
MolecularDataType

public static final class MolecularDataType.Utils
extends java.lang.Object

Utilities relating to MolecularDataType stuff


Constructor Summary
MolecularDataType.Utils()
           
 
Method Summary
static MolecularDataType getMolecularDataType(DataType dt)
          Converts (if possible) a DataType into a MolecularDataType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MolecularDataType.Utils

public MolecularDataType.Utils()
Method Detail

getMolecularDataType

public static final MolecularDataType getMolecularDataType(DataType dt)
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