Description
FunctionContext has a method getArguments() that returns Object. It would be nice to have getArguments return a known type instead.
public interface FunctionContext <T> { public T getArguments(); }
The Function interface would then allow users to bound the expected argument type:
public interface Function<T> { public void execute(FunctionContext<T> context); }
Attachments
Issue Links
- links to
- mentioned in
-
Page Loading...