org.biojava3.core.sequence.transcription
Class CaseInsensitiveCompound

java.lang.Object
  extended by org.biojava3.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
CaseInsensitiveCompound(NucleotideCompound compound)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CaseInsensitiveCompound

public CaseInsensitiveCompound(NucleotideCompound compound)
Method Detail

equalsIgnoreCase

public boolean equalsIgnoreCase(Compound compound)
Specified by:
equalsIgnoreCase in interface Compound

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getUnderlyingCompound

public NucleotideCompound getUnderlyingCompound()

getDescription

public String getDescription()
Specified by:
getDescription in interface Compound

getLongName

public String getLongName()
Specified by:
getLongName in interface Compound

getMolecularWeight

public Float getMolecularWeight()
Specified by:
getMolecularWeight in interface Compound

getShortName

public String getShortName()
Specified by:
getShortName in interface Compound

toString

public String toString()
Overrides:
toString in class Object

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface Compound

setLongName

public void setLongName(String longName)
Specified by:
setLongName in interface Compound

setMolecularWeight

public void setMolecularWeight(Float molecularWeight)
Specified by:
setMolecularWeight in interface Compound

setShortName

public void setShortName(String shortName)
Specified by:
setShortName in interface Compound