Interface NumberParser<P extends @NonNull Number & Comparable<P>,T extends @NonNull Object>

Type Parameters:
P - The type of number.
T - The type of argument that is provided.
All Superinterfaces:
ArgumentParser<P,T>, BiFunction<CommandContext,P,Mono<T>>, ChoicesParser<P,T>, InputParser<P,T>, ParserFunction<P,T>
All Known Subinterfaces:
FloatParser<T>, IntegerParser<T>

public sealed interface NumberParser<P extends @NonNull Number & Comparable<P>,T extends @NonNull Object> extends ChoicesParser<P,T> permits IntegerParser<T>, FloatParser<T>
Parses number-based input arguments.
Since:
1.0
Version:
1.0
API Note:
Implementations do not have to verify in parsing that the received raw value is within the range specified by minimum() and maximum(). The system will automatically do this verification before invoking the parser.