Interface RawResultSupplier<T>
- Type Parameters:
T
- - The object type of the command argument.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The work of this interface is similar to that of the
Supplier
interface.-
Method Summary
Modifier and TypeMethodDescriptionget
(CommandCause cause, String[] args) Retrieves an instance of the appropriate type.
-
Method Details
-
get
Retrieves an instance of the appropriate type. The returned object may or may not be a new instance, depending on the implementation.
Depending on the conditions, a empty return is allowed.
-