Interface CompoundSet<C extends Compound>
- All Known Implementing Classes:
ABITracerCompoundSet,AbstractCompoundSet,AbstractNucleotideCompoundSet,AmbiguityDNACompoundSet,AmbiguityDNARNAHybridCompoundSet,AmbiguityRNACompoundSet,AminoAcidCompoundSet,CaseFreeAminoAcidCompoundSet,DNACompoundSet,ModifiedAminoAcidCompoundSet,RNACompoundSet
public interface CompoundSet<C extends Compound>
-
Method Summary
Modifier and TypeMethodDescriptionbooleancompoundsEquivalent(C compoundOne, C compoundTwo) getCompoundForString(String string) Return null if not recognised.getEquivalentCompounds(C compound) intReturns the maximum size of a compound String this set holdsgetStringForCompound(C compound) booleanhasCompound(C compound) booleanbooleanReturns true if all String representations of Compounds are of the same length.booleanisValidSequence(Sequence<C> sequence)
-
Method Details
-
getMaxSingleCompoundStringLength
Returns the maximum size of a compound String this set holds -
isCompoundStringLengthEqual
boolean isCompoundStringLengthEqual()Returns true if all String representations of Compounds are of the same length. -
getCompoundForString
Return null if not recognised. Throw IllegalArgumentException if string is longer than maximum allowed bygetStringForCompound(Compound). -
getStringForCompound
-
compoundsEquivalent
-
isValidSequence
-
getEquivalentCompounds
-
hasCompound
-
getAllCompounds
List<C> getAllCompounds() -
isComplementable
boolean isComplementable()
-