public class IntInputReader extends ComparableInputReader<Integer,IntInputReader>
InputReader.ErrorMessagesProvider, InputReader.ParseResult<T>, InputReader.ValueChecker<T>maxVal, minValdefaultValue, equalsFunc, inlinePossibleValues, inputMasking, inputTrimming, numberedPossibleValues, parseErrorMessagesProvider, possibleValues, promptAdjustments, propertyName, textTerminalSupplier, valueCheckers, valueFormatter, valueListCheckers| Constructor and Description |
|---|
IntInputReader(Supplier<TextTerminal> textTerminalSupplier) |
| Modifier and Type | Method and Description |
|---|---|
protected InputReader.ParseResult<Integer> |
parse(String s)
Parses the input string
|
protected String |
typeNameWithIndefiniteArticle() |
checkConfiguration, getMinMaxErrorMessage, isInRange, withMaxVal, withMinValgetDefaultErrorMessage, getDefaultErrorMessages, getErrorMessages, getPossibleValue, isPossibleValue, isValueListMode, noDuplicatesChecker, nonEmptyListChecker, parseAndCheck, printPrompt, read, read, readList, readList, withDefaultValue, withEqualsFunc, withInlinePossibleValues, withInlinePossibleValues, withInputMasking, withInputTrimming, withNumberedPossibleValues, withNumberedPossibleValues, withParseErrorMessagesProvider, withPossibleValues, withPossibleValues, withPromptAdjustments, withPropertyName, withValueChecker, withValueFormatter, withValueListCheckerpublic IntInputReader(Supplier<TextTerminal> textTerminalSupplier)
protected String typeNameWithIndefiniteArticle()
typeNameWithIndefiniteArticle in class ComparableInputReader<Integer,IntInputReader>protected InputReader.ParseResult<Integer> parse(String s)
InputReaderparse in class InputReader<Integer,IntInputReader>s - the input stringInputReader.ParseResult that holds the parsed value and/or the error messages, if errors occurred.