public static class Table.Codon extends Object implements Compound
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 compoundConstructor and Description |
---|
Codon(Table.CaseInsensitiveTriplet triplet) |
Codon(Table.CaseInsensitiveTriplet triplet,
AminoAcidCompound aminoAcid,
boolean start,
boolean stop) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
boolean |
equalsIgnoreCase(Compound compound) |
AminoAcidCompound |
getAminoAcid() |
String |
getDescription() |
String |
getLongName() |
Float |
getMolecularWeight() |
NucleotideCompound |
getOne() |
String |
getShortName() |
NucleotideCompound |
getThree() |
Table.CaseInsensitiveTriplet |
getTriplet() |
NucleotideCompound |
getTwo() |
int |
hashCode() |
boolean |
isStart() |
boolean |
isStop() |
void |
setDescription(String description) |
void |
setLongName(String longName) |
void |
setMolecularWeight(Float molecularWeight) |
void |
setShortName(String shortName) |
String |
toString() |
public Codon(Table.CaseInsensitiveTriplet triplet, AminoAcidCompound aminoAcid, boolean start, boolean stop)
public Codon(Table.CaseInsensitiveTriplet triplet)
public NucleotideCompound getOne()
public NucleotideCompound getTwo()
public NucleotideCompound getThree()
public boolean isStart()
public boolean isStop()
public AminoAcidCompound getAminoAcid()
public Table.CaseInsensitiveTriplet getTriplet()
public boolean equalsIgnoreCase(Compound compound)
equalsIgnoreCase
in interface Compound
public String getDescription()
getDescription
in interface Compound
public String getLongName()
getLongName
in interface Compound
public Float getMolecularWeight()
getMolecularWeight
in interface Compound
public String getShortName()
getShortName
in interface Compound
public void setDescription(String description)
setDescription
in interface Compound
public void setLongName(String longName)
setLongName
in interface Compound
public void setMolecularWeight(Float molecularWeight)
setMolecularWeight
in interface Compound
public void setShortName(String shortName)
setShortName
in interface Compound
Copyright © 2000–2018 BioJava. All rights reserved.