Class BigDecimalArgumentResolver<SENDER>
java.lang.Object
dev.rollczi.litecommands.argument.resolver.ArgumentResolver<SENDER,BigDecimal>
dev.rollczi.litecommands.argument.resolver.standard.BigDecimalArgumentResolver<SENDER>
- All Implemented Interfaces:
Parser<SENDER,,RawInput, BigDecimal> RawInputParser<SENDER,,BigDecimal> ArgumentResolverBase<SENDER,,RawInput, BigDecimal> MultipleArgumentResolver<SENDER,,BigDecimal> Suggester<SENDER,,BigDecimal> Rangeable<Argument<BigDecimal>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ParseResult<BigDecimal> parse(Invocation<SENDER> invocation, Argument<BigDecimal> context, String argument) suggest(Invocation<SENDER> invocation, Argument<BigDecimal> argument, SuggestionContext context) Methods inherited from class dev.rollczi.litecommands.argument.resolver.ArgumentResolver
canParse, getRange, parseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.rollczi.litecommands.argument.parser.RawInputParser
getInputType
-
Constructor Details
-
BigDecimalArgumentResolver
-
-
Method Details
-
parse
protected ParseResult<BigDecimal> parse(Invocation<SENDER> invocation, Argument<BigDecimal> context, String argument) - Specified by:
parsein classArgumentResolver<SENDER,BigDecimal>
-
suggest
public SuggestionResult suggest(Invocation<SENDER> invocation, Argument<BigDecimal> argument, SuggestionContext context)
-