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 boolean
equals(Object obj)
boolean
equalsIgnoreCase(Compound compound)
String
getDescription()
String
getLongName()
Float
getMolecularWeight()
String
getShortName()
NucleotideCompound
getUnderlyingCompound()
int
hashCode()
void
setDescription(String description)
void
setLongName(String longName)
void
setMolecularWeight(Float molecularWeight)
void
setShortName(String shortName)
String
toString()
-
-
-
Constructor Detail
-
CaseInsensitiveCompound
public CaseInsensitiveCompound(NucleotideCompound compound)
-
-
Method Detail
-
equalsIgnoreCase
public boolean equalsIgnoreCase(Compound compound)
- Specified by:
equalsIgnoreCase
in interfaceCompound
-
getUnderlyingCompound
public NucleotideCompound getUnderlyingCompound()
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceCompound
-
getLongName
public String getLongName()
- Specified by:
getLongName
in interfaceCompound
-
getMolecularWeight
public Float getMolecularWeight()
- Specified by:
getMolecularWeight
in interfaceCompound
-
getShortName
public String getShortName()
- Specified by:
getShortName
in interfaceCompound
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceCompound
-
setLongName
public void setLongName(String longName)
- Specified by:
setLongName
in interfaceCompound
-
setMolecularWeight
public void setMolecularWeight(Float molecularWeight)
- Specified by:
setMolecularWeight
in interfaceCompound
-
setShortName
public void setShortName(String shortName)
- Specified by:
setShortName
in interfaceCompound
-
-