Class Table.Codon
java.lang.Object
org.biojava3.core.sequence.transcription.Table.Codon
- All Implemented Interfaces:
Compound
- Enclosing interface:
- Table
Instance of a Codon which is 3
NucleotideCompounds, 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
ConstructorsConstructorDescriptionCodon(Table.CaseInsensitiveTriplet triplet) Codon(Table.CaseInsensitiveTriplet triplet, AminoAcidCompound aminoAcid, boolean start, boolean stop) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanequalsIgnoreCase(Compound compound) getOne()getThree()getTwo()inthashCode()booleanisStart()booleanisStop()voidsetDescription(String description) voidsetLongName(String longName) voidsetMolecularWeight(Float molecularWeight) voidsetShortName(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:
equalsIgnoreCasein interfaceCompound
-
getDescription
- Specified by:
getDescriptionin interfaceCompound
-
getLongName
- Specified by:
getLongNamein interfaceCompound
-
getMolecularWeight
- Specified by:
getMolecularWeightin interfaceCompound
-
getShortName
- Specified by:
getShortNamein interfaceCompound
-
setDescription
- Specified by:
setDescriptionin interfaceCompound
-
setLongName
- Specified by:
setLongNamein interfaceCompound
-
setMolecularWeight
- Specified by:
setMolecularWeightin interfaceCompound
-
setShortName
- Specified by:
setShortNamein interfaceCompound
-