org.biojava3.core.sequence.transcription
Class CaseInsensitiveCompound
java.lang.Object
org.biojava3.core.sequence.transcription.CaseInsensitiveCompound
- All Implemented Interfaces:
- Compound
public class CaseInsensitiveCompound
- extends java.lang.Object
- implements Compound
Attempts to wrap compounds so it is possible to view them
in a case insensitive manner
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CaseInsensitiveCompound
public CaseInsensitiveCompound(NucleotideCompound compound)
equalsIgnoreCase
public boolean equalsIgnoreCase(Compound compound)
- Specified by:
equalsIgnoreCase in interface Compound
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
getUnderlyingCompound
public NucleotideCompound getUnderlyingCompound()
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Compound
getLongName
public java.lang.String getLongName()
- Specified by:
getLongName in interface Compound
getMolecularWeight
public java.lang.Float getMolecularWeight()
- Specified by:
getMolecularWeight in interface Compound
getShortName
public java.lang.String getShortName()
- Specified by:
getShortName in interface Compound
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription in interface Compound
setLongName
public void setLongName(java.lang.String longName)
- Specified by:
setLongName in interface Compound
setMolecularWeight
public void setMolecularWeight(java.lang.Float molecularWeight)
- Specified by:
setMolecularWeight in interface Compound
setShortName
public void setShortName(java.lang.String shortName)
- Specified by:
setShortName in interface Compound