[
https://issues.apache.org/jira/browse/FUNCTOR-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899506#comment-16899506
]
Matt Sicker commented on FUNCTOR-31:
------------------------------------
Upon further exploration, if we went to Java 8 for this component, then a lot
of other code can be removed or refactored into lambdas. All the adapter
classes are unnecessary thanks to SAM and lambda functions in general. The
aggregator classes can likely be combined functionally with the Java 8
Collector API. The comparators and composites are also available in Java 8
already. The generator classes seem related to collectors and streams.
The collection classes look useful since Java 8 never provided functional
versions of Iterator despite being similar to Stream/Spliterator. The range
types as well.
Some expansion on other common type classes would be super useful, though not
necessarily part of this.
What remains after removing all that is hard to say.
> Clean up API for Java 8
> -----------------------
>
> Key: FUNCTOR-31
> URL: https://issues.apache.org/jira/browse/FUNCTOR-31
> Project: Commons Functor
> Issue Type: New Feature
> Reporter: Matt Sicker
> Priority: Major
>
> All the interfaces from commons-functor-api have equivalent interfaces in
> java.util.function. Several functor implementation classes in the core module
> can also be simplified thanks to lambda functions.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)