public interface AtomicSymbol extends BasisSymbol
A symbol that is not ambiguous.
Atomic symbols are the real underlying elements that a SymbolList is meant to be composed of. DNA nucleotides are atomic, as are amino-acids. The getMatches() method should return an alphabet containing just the one Symbol.
The Symbol instances for single codons would be instances of AtomicSymbol as they can only be represented as a Set of symbols from their alphabet that contains just that one symbol.
AtomicSymbol instances guarantee that getMatches returns an Alphabet containing just that Symbol and each element of the List returned by getSymbols is also atomic.
Copyright © 2020 BioJava. All rights reserved.