Class NucleotideCompound
java.lang.Object
org.biojava3.core.sequence.template.AbstractCompound
org.biojava3.core.sequence.compound.NucleotideCompound
- All Implemented Interfaces:
ComplementCompound
,Compound
- Author:
- Scooter Willis, Andy Yates
-
Constructor Summary
ConstructorDescriptionNucleotideCompound
(String base, CompoundSet<NucleotideCompound> compoundSet, String complementStr) NucleotideCompound
(String base, CompoundSet<NucleotideCompound> compoundSet, String complementStr, NucleotideCompound[] constituents) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
equalsIgnoreCase
(Compound compound) int
hashCode()
boolean
Methods inherited from class org.biojava3.core.sequence.template.AbstractCompound
getBase, getDescription, getLongName, getMolecularWeight, getUpperedBase, setDescription, setLongName, setMolecularWeight, setShortName, toString
Methods inherited from interface org.biojava3.core.sequence.template.Compound
getDescription, getLongName, getMolecularWeight, setDescription, setLongName, setMolecularWeight, setShortName
-
Constructor Details
-
NucleotideCompound
public NucleotideCompound(String base, CompoundSet<NucleotideCompound> compoundSet, String complementStr) -
NucleotideCompound
public NucleotideCompound(String base, CompoundSet<NucleotideCompound> compoundSet, String complementStr, NucleotideCompound[] constituents)
-
-
Method Details
-
getShortName
- Specified by:
getShortName
in interfaceCompound
- Overrides:
getShortName
in classAbstractCompound
-
getComplement
- Specified by:
getComplement
in interfaceComplementCompound
-
equals
- Overrides:
equals
in classAbstractCompound
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractCompound
-
equalsIgnoreCase
- Specified by:
equalsIgnoreCase
in interfaceCompound
- Overrides:
equalsIgnoreCase
in classAbstractCompound
-
getConsituents
-
isAmbiguous
public boolean isAmbiguous()
-