I
- input alphabet typepublic 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)
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 © 2020. All rights reserved.