Class CaseInsensitiveCompound
- java.lang.Object
-
- org.biojava.nbio.core.sequence.transcription.CaseInsensitiveCompound
-
- All Implemented Interfaces:
Compound
public class CaseInsensitiveCompound extends Object implements Compound
Attempts to wrap compounds so it is possible to view them in a case insensitive manner
-
-
Constructor Summary
Constructors Constructor Description CaseInsensitiveCompound(NucleotideCompound compound)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleanequalsIgnoreCase(Compound compound)StringgetDescription()StringgetLongName()FloatgetMolecularWeight()StringgetShortName()NucleotideCompoundgetUnderlyingCompound()inthashCode()voidsetDescription(String description)voidsetLongName(String longName)voidsetMolecularWeight(Float molecularWeight)voidsetShortName(String shortName)StringtoString()
-
-
-
Constructor Detail
-
CaseInsensitiveCompound
public CaseInsensitiveCompound(NucleotideCompound compound)
-
-
Method Detail
-
equalsIgnoreCase
public boolean equalsIgnoreCase(Compound compound)
- Specified by:
equalsIgnoreCasein interfaceCompound
-
getUnderlyingCompound
public NucleotideCompound getUnderlyingCompound()
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceCompound
-
getLongName
public String getLongName()
- Specified by:
getLongNamein interfaceCompound
-
getMolecularWeight
public Float getMolecularWeight()
- Specified by:
getMolecularWeightin interfaceCompound
-
getShortName
public String getShortName()
- Specified by:
getShortNamein interfaceCompound
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceCompound
-
setLongName
public void setLongName(String longName)
- Specified by:
setLongNamein interfaceCompound
-
setMolecularWeight
public void setMolecularWeight(Float molecularWeight)
- Specified by:
setMolecularWeightin interfaceCompound
-
setShortName
public void setShortName(String shortName)
- Specified by:
setShortNamein interfaceCompound
-
-