public interface CompoundSet<C extends Compound>
Modifier and Type | Method and Description |
---|---|
boolean |
compoundsEquivalent(C compoundOne,
C compoundTwo) |
List<C> |
getAllCompounds() |
C |
getCompoundForString(String string)
Return null if not recognised.
|
Set<C> |
getEquivalentCompounds(C compound) |
int |
getMaxSingleCompoundStringLength()
Returns the maximum size of a compound String this set holds
|
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(String string)
getStringForCompound(Compound)
.String getStringForCompound(C compound)
boolean compoundsEquivalent(C compoundOne, C compoundTwo)
boolean isValidSequence(Sequence<C> sequence)
Set<C> getEquivalentCompounds(C compound)
boolean hasCompound(C compound)
List<C> getAllCompounds()
boolean isComplementable()
Copyright © 2000–2019 BioJava. All rights reserved.