Class CodonCompound
java.lang.Object
org.biojava.nbio.core.sequence.template.AbstractCompound
org.biojava.nbio.core.sequence.compound.CodonCompound
- All Implemented Interfaces:
Compound
Define a codon
- Author:
- Andy Yates
-
Constructor Summary
ConstructorDescriptionCodonCompound
(NucleotideCompound one, NucleotideCompound two, NucleotideCompound three, boolean start) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
equalsIgnoreCase
(Compound compound) getOne()
getThree()
getTwo()
int
hashCode()
boolean
isStart()
void
setDescription
(String description) void
setLongName
(String longName) void
setMolecularWeight
(Float molecularWeight) void
setShortName
(String shortName) Methods inherited from class org.biojava.nbio.core.sequence.template.AbstractCompound
getBase, getUpperedBase, toString
-
Constructor Details
-
CodonCompound
public CodonCompound(NucleotideCompound one, NucleotideCompound two, NucleotideCompound three, boolean start)
-
-
Method Details
-
equalsIgnoreCase
- Specified by:
equalsIgnoreCase
in interfaceCompound
- Overrides:
equalsIgnoreCase
in classAbstractCompound
-
equals
- Overrides:
equals
in classAbstractCompound
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractCompound
-
getOne
-
getTwo
-
getThree
-
isStart
public boolean isStart() -
getDescription
- Specified by:
getDescription
in interfaceCompound
- Overrides:
getDescription
in classAbstractCompound
-
getLongName
- Specified by:
getLongName
in interfaceCompound
- Overrides:
getLongName
in classAbstractCompound
-
getMolecularWeight
- Specified by:
getMolecularWeight
in interfaceCompound
- Overrides:
getMolecularWeight
in classAbstractCompound
-
getShortName
- Specified by:
getShortName
in interfaceCompound
- Overrides:
getShortName
in classAbstractCompound
-
setDescription
- Specified by:
setDescription
in interfaceCompound
- Overrides:
setDescription
in classAbstractCompound
-
setLongName
- Specified by:
setLongName
in interfaceCompound
- Overrides:
setLongName
in classAbstractCompound
-
setMolecularWeight
- Specified by:
setMolecularWeight
in interfaceCompound
- Overrides:
setMolecularWeight
in classAbstractCompound
-
setShortName
- Specified by:
setShortName
in interfaceCompound
- Overrides:
setShortName
in classAbstractCompound
-