org.biojava3.core.sequence.compound
Class NucleotideCompound
java.lang.Object
org.biojava3.core.sequence.template.AbstractCompound
org.biojava3.core.sequence.compound.NucleotideCompound
- All Implemented Interfaces:
- ComplementCompound, Compound
public class NucleotideCompound
- extends AbstractCompound
- implements ComplementCompound
- Author:
- Scooter Willis, Andy Yates
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
NucleotideCompound
public NucleotideCompound(java.lang.String base,
CompoundSet<NucleotideCompound> compoundSet,
java.lang.String complementStr)
NucleotideCompound
public NucleotideCompound(java.lang.String base,
CompoundSet<NucleotideCompound> compoundSet,
java.lang.String complementStr,
NucleotideCompound[] constituents)
getShortName
public java.lang.String getShortName()
- Specified by:
getShortName in interface Compound- Overrides:
getShortName in class AbstractCompound
getComplement
public ComplementCompound getComplement()
- Specified by:
getComplement in interface ComplementCompound
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class AbstractCompound
hashCode
public int hashCode()
- Overrides:
hashCode in class AbstractCompound
equalsIgnoreCase
public boolean equalsIgnoreCase(Compound compound)
- Specified by:
equalsIgnoreCase in interface Compound- Overrides:
equalsIgnoreCase in class AbstractCompound
getConstituents
public java.util.Set<NucleotideCompound> getConstituents()
getConsituents
public java.util.Set<NucleotideCompound> getConsituents()
- Deprecated. replaced with
getConstituents() due to typographical error
isAmbiguous
public boolean isAmbiguous()