public class DoubleInputReader extends ComparableInputReader<Double,DoubleInputReader>
InputReader.ErrorMessageProvider, InputReader.ParseResult<T>maxVal, minValdefaultValue, errorMessageProvider, inputMasking, inputTrimming, numberedPossibleValues, possibleValues, propertyName, textTerminalSupplier, valueFormatter| Constructor and Description |
|---|
DoubleInputReader(Supplier<TextTerminal> textTerminalSupplier) |
| Modifier and Type | Method and Description |
|---|---|
InputReader.ParseResult<Double> |
parse(String s)
Parses the input string
|
protected String |
typeNameWithIndefiniteArticle() |
checkConfiguration, getDefaultErrorMessage, isInRange, withMaxVal, withMinValgetDefaultErrorMessage, getErrorMessage, printPrompt, read, read, withDefaultValue, withErrorMessageProvider, withInputMasking, withInputTrimming, withNumberedPossibleValues, withPossibleValues, withPossibleValues, withPropertyName, withValueFormatterpublic DoubleInputReader(Supplier<TextTerminal> textTerminalSupplier)
protected String typeNameWithIndefiniteArticle()
typeNameWithIndefiniteArticle in class ComparableInputReader<Double,DoubleInputReader>public InputReader.ParseResult<Double> parse(String s)
InputReaderparse in class InputReader<Double,DoubleInputReader>s - the input stringInputReader.ParseResult that holds the parsed value and/or the error messages, if errors occurred.