@FunctionalInterface public interface WordParser<W>
Modifier and Type | Method and Description |
---|---|
W |
parseWord(String word)
Parses a string to return a value of some kind.
|
W parseWord(String word) throws TaskException
TaskException
,
preferably with an explanatory (user-directed) message,
should be thrown. This method serves the purpose of validation
as well as translation.word
- string formTaskException
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.