Class AbstractCompound
java.lang.Object
org.biojava3.core.sequence.template.AbstractCompound
- All Implemented Interfaces:
Compound
- Direct Known Subclasses:
AminoAcidCompound
,CodonCompound
,NucleotideCompound
The details of a Compound
- Author:
- Andy Yates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
equalsIgnoreCase
(Compound compound) getBase()
int
hashCode()
void
setDescription
(String description) void
setLongName
(String longName) void
setMolecularWeight
(Float molecularWeight) void
setShortName
(String shortName) toString()
-
Constructor Details
-
AbstractCompound
-
-
Method Details
-
getBase
-
getUpperedBase
-
getDescription
- Specified by:
getDescription
in interfaceCompound
-
setDescription
- Specified by:
setDescription
in interfaceCompound
-
getShortName
- Specified by:
getShortName
in interfaceCompound
-
setShortName
- Specified by:
setShortName
in interfaceCompound
-
getLongName
- Specified by:
getLongName
in interfaceCompound
-
setLongName
- Specified by:
setLongName
in interfaceCompound
-
getMolecularWeight
- Specified by:
getMolecularWeight
in interfaceCompound
-
setMolecularWeight
- Specified by:
setMolecularWeight
in interfaceCompound
-
toString
-
equals
-
hashCode
public int hashCode() -
equalsIgnoreCase
- Specified by:
equalsIgnoreCase
in interfaceCompound
-