Class AminoAcidCompound
- java.lang.Object
-
- org.biojava.nbio.core.sequence.template.AbstractCompound
-
- org.biojava.nbio.core.sequence.compound.AminoAcidCompound
-
- All Implemented Interfaces:
Serializable
,Compound
public class AminoAcidCompound extends AbstractCompound implements Serializable
Used to describe an Amino Acid.- Author:
- Richard Holland, Scooter Willis, Andy Yates
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AminoAcidCompound(AminoAcidCompoundSet compoundSet, String shortName, String longName, String description, Float molecularWeight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
equalsIgnoreCase(Compound compound)
CompoundSet<AminoAcidCompound>
getCompoundSet()
int
hashCode()
-
Methods inherited from class org.biojava.nbio.core.sequence.template.AbstractCompound
getBase, getDescription, getLongName, getMolecularWeight, getShortName, getUpperedBase, setDescription, setLongName, setMolecularWeight, setShortName, toString
-
-
-
-
Constructor Detail
-
AminoAcidCompound
public AminoAcidCompound(AminoAcidCompoundSet compoundSet, String shortName, String longName, String description, Float molecularWeight)
-
-
Method Detail
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classAbstractCompound
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractCompound
-
equalsIgnoreCase
public boolean equalsIgnoreCase(Compound compound)
- Specified by:
equalsIgnoreCase
in interfaceCompound
- Overrides:
equalsIgnoreCase
in classAbstractCompound
-
getCompoundSet
public CompoundSet<AminoAcidCompound> getCompoundSet()
-
-