You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by GitBox <gi...@apache.org> on 2018/12/14 18:16:40 UTC

[GitHub] nwangtw commented on issue #3124: Nwang/fix streamwindowoperator generic types

nwangtw commented on issue #3124: Nwang/fix streamwindowoperator generic types
URL: https://github.com/apache/incubator-heron/pull/3124#issuecomment-447408749
 
 
   > Looks like the semantics for `T` and `R` go against the ones used in Java function types, say, [BiFunction](https://docs.oracle.com/javase/8/docs/api/java/util/function/BiFunction.html) where `T` is considered the input type and `R` as the result type.
   
   Yeah. For some reason R is the default generic type in Streamlet API. Like https://github.com/apache/incubator-heron/blob/5ee2490c025c7684c097962cf6d25f54ead73cf4/heron/api/src/java/org/apache/heron/streamlet/impl/streamlets/SupplierStreamlet.java
   
   I can update all of them if we decide to do so.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services