public class IndexingAlphabetWrapper extends Object implements IndexingFunction<String>
Constructor and Description |
---|
IndexingAlphabetWrapper(Alphabet alphabet) |
public IndexingAlphabetWrapper(@NonNull Alphabet alphabet)
public int index(@NonNull String symbol)
IndexingFunction
index
in interface IndexingFunction<String>
symbol
- some object.public int range()
IndexingFunction
range
in interface IndexingFunction<String>
Copyright (C) 2016 Benjamin Paaßen, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/