public class CaseFreeAminoAcidCompoundSet extends Object implements CompoundSet<AminoAcidCompound>
| Constructor and Description |
|---|
CaseFreeAminoAcidCompoundSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compoundsEquivalent(AminoAcidCompound compoundOne,
AminoAcidCompound compoundTwo) |
List<AminoAcidCompound> |
getAllCompounds() |
static CaseFreeAminoAcidCompoundSet |
getAminoAcidCompoundSet() |
AminoAcidCompound |
getCompoundForString(String string)
Return null if not recognised.
|
Set<AminoAcidCompound> |
getEquivalentCompounds(AminoAcidCompound compound) |
int |
getMaxSingleCompoundStringLength()
Returns the maximum size of a compound String this set holds
|
String |
getStringForCompound(AminoAcidCompound compound) |
boolean |
hasCompound(AminoAcidCompound compound) |
boolean |
isComplementable() |
boolean |
isCompoundStringLengthEqual()
Returns true if all String representations of Compounds are of the
same length.
|
boolean |
isValidSequence(Sequence<AminoAcidCompound> sequence) |
public String getStringForCompound(AminoAcidCompound compound)
getStringForCompound in interface CompoundSet<AminoAcidCompound>public AminoAcidCompound getCompoundForString(String string)
CompoundSetCompoundSet.getStringForCompound(Compound).getCompoundForString in interface CompoundSet<AminoAcidCompound>public int getMaxSingleCompoundStringLength()
CompoundSetgetMaxSingleCompoundStringLength in interface CompoundSet<AminoAcidCompound>public boolean isCompoundStringLengthEqual()
CompoundSetisCompoundStringLengthEqual in interface CompoundSet<AminoAcidCompound>public static CaseFreeAminoAcidCompoundSet getAminoAcidCompoundSet()
public boolean compoundsEquivalent(AminoAcidCompound compoundOne, AminoAcidCompound compoundTwo)
compoundsEquivalent in interface CompoundSet<AminoAcidCompound>public Set<AminoAcidCompound> getEquivalentCompounds(AminoAcidCompound compound)
getEquivalentCompounds in interface CompoundSet<AminoAcidCompound>public boolean hasCompound(AminoAcidCompound compound)
hasCompound in interface CompoundSet<AminoAcidCompound>public List<AminoAcidCompound> getAllCompounds()
getAllCompounds in interface CompoundSet<AminoAcidCompound>public boolean isComplementable()
isComplementable in interface CompoundSet<AminoAcidCompound>public boolean isValidSequence(Sequence<AminoAcidCompound> sequence)
isValidSequence in interface CompoundSet<AminoAcidCompound>Copyright © 2000–2016 BioJava. All rights reserved.