Class CaseInsensitiveCompound
java.lang.Object
org.biojava.nbio.core.sequence.transcription.CaseInsensitiveCompound
- All Implemented Interfaces:
Compound
Attempts to wrap compounds so it is possible to view them
in a case insensitive manner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
equalsIgnoreCase
(Compound compound) int
hashCode()
void
setDescription
(String description) void
setLongName
(String longName) void
setMolecularWeight
(Float molecularWeight) void
setShortName
(String shortName) toString()
-
Constructor Details
-
CaseInsensitiveCompound
-
-
Method Details
-
equalsIgnoreCase
- Specified by:
equalsIgnoreCase
in interfaceCompound
-
equals
-
hashCode
public int hashCode() -
getUnderlyingCompound
-
getDescription
- Specified by:
getDescription
in interfaceCompound
-
getLongName
- Specified by:
getLongName
in interfaceCompound
-
getMolecularWeight
- Specified by:
getMolecularWeight
in interfaceCompound
-
getShortName
- Specified by:
getShortName
in interfaceCompound
-
toString
-
setDescription
- Specified by:
setDescription
in interfaceCompound
-
setLongName
- Specified by:
setLongName
in interfaceCompound
-
setMolecularWeight
- Specified by:
setMolecularWeight
in interfaceCompound
-
setShortName
- Specified by:
setShortName
in interfaceCompound
-