Class Table.Codon
java.lang.Object
org.biojava.nbio.core.sequence.transcription.Table.Codon
- All Implemented Interfaces:
Compound
- Enclosing interface:
- Table
Instance of a Codon which is 3
NucleotideCompound
s, its
corresponding AminoAcidCompound
and if it is a start or stop codon.
The object implements hashCode & equals but according to the nucleotide
compounds & not to the designation of it being a start, stop & amino
acid compound- Author:
- ayates
-
Constructor Summary
ConstructorDescriptionCodon
(Table.CaseInsensitiveTriplet triplet) Codon
(Table.CaseInsensitiveTriplet triplet, AminoAcidCompound aminoAcid, boolean start, boolean stop) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
equalsIgnoreCase
(Compound compound) getOne()
getThree()
getTwo()
int
hashCode()
boolean
isStart()
boolean
isStop()
void
setDescription
(String description) void
setLongName
(String longName) void
setMolecularWeight
(Float molecularWeight) void
setShortName
(String shortName) toString()
-
Constructor Details
-
Codon
public Codon(Table.CaseInsensitiveTriplet triplet, AminoAcidCompound aminoAcid, boolean start, boolean stop) -
Codon
-
-
Method Details
-
getOne
-
getTwo
-
getThree
-
isStart
public boolean isStart() -
isStop
public boolean isStop() -
getAminoAcid
-
getTriplet
-
equals
-
hashCode
public int hashCode() -
toString
-
equalsIgnoreCase
- Specified by:
equalsIgnoreCase
in interfaceCompound
-
getDescription
- Specified by:
getDescription
in interfaceCompound
-
getLongName
- Specified by:
getLongName
in interfaceCompound
-
getMolecularWeight
- Specified by:
getMolecularWeight
in interfaceCompound
-
getShortName
- Specified by:
getShortName
in interfaceCompound
-
setDescription
- Specified by:
setDescription
in interfaceCompound
-
setLongName
- Specified by:
setLongName
in interfaceCompound
-
setMolecularWeight
- Specified by:
setMolecularWeight
in interfaceCompound
-
setShortName
- Specified by:
setShortName
in interfaceCompound
-