Interface CommandTokenSupplier<T extends CommandToken>
- Type Parameters:
T- the type of the command token
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@AvailableSince("0.0.37")
public interface CommandTokenSupplier<T extends CommandToken>
Command token supplier
- See Also:
-
Method Summary
-
Method Details
-
apply
Create a new command token- Parameters:
from- starting indexto- ending indextext- the entire command- Returns:
- the new command token
-