[ 
https://issues.apache.org/jira/browse/GEODE-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15967911#comment-15967911
 ] 

ASF subversion and git services commented on GEODE-2217:
--------------------------------------------------------

Commit bc2218409cfe2693e3bb886ee1660c7ab4748323 in geode's branch 
refs/heads/feature/GEODE-2632 from [~dalyssakim]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=bc22184 ]

GEODE-2217: Add generic type parameter to FunctionContext interface

 * This closes #447


> Add generic type parameter to FunctionContext interface
> -------------------------------------------------------
>
>                 Key: GEODE-2217
>                 URL: https://issues.apache.org/jira/browse/GEODE-2217
>             Project: Geode
>          Issue Type: Bug
>          Components: functions
>            Reporter: Jared Stewart
>            Assignee: Alyssa Kim
>
> 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);
> }
> ```



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to