AbstractCompoundSet
, AbstractNucleotideCompoundSet
, AmbiguityDNACompoundSet
, AmbiguityDNARNAHybridCompoundSet
, AmbiguityRNACompoundSet
, AminoAcidCompoundSet
, CaseFreeAminoAcidCompoundSet
, DNACompoundSet
, ModifiedAminoAcidCompoundSet
, RNACompoundSet
public interface CompoundSet<C extends Compound>
Modifier and Type | Method | Description |
---|---|---|
boolean |
compoundsEquivalent(C compoundOne,
C compoundTwo) |
|
java.util.List<C> |
getAllCompounds() |
|
C |
getCompoundForString(java.lang.String string) |
Return null if not recognised.
|
java.util.Set<C> |
getEquivalentCompounds(C compound) |
|
int |
getMaxSingleCompoundStringLength() |
Returns the maximum size of a compound String this set holds
|
java.lang.String |
getStringForCompound(C compound) |
|
boolean |
hasCompound(C compound) |
|
boolean |
isComplementable() |
|
boolean |
isCompoundStringLengthEqual() |
Returns true if all String representations of Compounds are of the
same length.
|
boolean |
isValidSequence(Sequence<C> sequence) |
int getMaxSingleCompoundStringLength()
boolean isCompoundStringLengthEqual()
C getCompoundForString(java.lang.String string)
getStringForCompound(Compound)
.java.lang.String getStringForCompound(C compound)
boolean hasCompound(C compound)
java.util.List<C> getAllCompounds()
boolean isComplementable()