I
- input alphabet type@ParametersAreNonnullByDefault public interface SupportsGrowingAlphabet<I>
Modifier and Type | Method and Description |
---|---|
void |
addAlphabetSymbol(I symbol)
Notifies the data structure that a new symbol should be added to the alphabet.
|
void addAlphabetSymbol(I symbol) throws GrowingAlphabetNotSupportedException
GrowingAlphabet
) to handle
potentially shared state across multiple instances. If the needed requirements are not met, a GrowingAlphabetNotSupportedException
can be thrown.symbol
- the symbol to add to the alphabet.GrowingAlphabetNotSupportedException
- if the data structure was not properly initialized (e.g. with a GrowingAlphabet
).Copyright © 2019. All rights reserved.