- Type Parameters:
T- The type of argument that is provided.
- All Superinterfaces:
ArgumentParser<Long,,T> BiFunction<CommandContext,,Long, Mono<T>> ChoicesParser<Long,,T> InputParser<Long,,T> NumberParser<Long,,T> ParserFunction<Long,T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public non-sealed interface IntegerParser<T extends @NonNull Object>
extends NumberParser<Long,T>
Parses integer-based input arguments.
- Since:
- 1.0
- Version:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.sympho.modular_commands.api.command.parameter.parse.ChoicesParser
ChoicesParser.Choice<P extends @NonNull Object>Nested classes/interfaces inherited from interface dev.sympho.modular_commands.api.command.parameter.parse.ParserFunction
ParserFunction.PostParser<R extends @NonNull Object,I extends @NonNull Object, T extends @NonNull Object, P1 extends @NonNull ParserFunction<R, I>, P2 extends @NonNull ParserFunction<I, T>> -
Field Summary
Fields inherited from interface dev.sympho.modular_commands.api.command.parameter.parse.ChoicesParser
MAX_CHOICES -
Method Summary
Methods inherited from interface dev.sympho.modular_commands.api.command.parameter.parse.ArgumentParser
parse, parseArgumentMethods inherited from interface java.util.function.BiFunction
andThenMethods inherited from interface dev.sympho.modular_commands.api.command.parameter.parse.ChoicesParser
choices, verifyChoiceMethods inherited from interface dev.sympho.modular_commands.api.command.parameter.parse.NumberParser
maximum, minimum, validateRaw, verifyInRangeMethods inherited from interface dev.sympho.modular_commands.api.command.parameter.parse.ParserFunction
apply, then