[
https://issues.apache.org/jira/browse/JENA-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012663#comment-17012663
]
ASF subversion and git services commented on JENA-1809:
-------------------------------------------------------
Commit 375c4ba471308d65bfa3e99c6bbd9dd1fdd26bb7 in jena's branch
refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=375c4ba ]
JENA-1809: Improvements to Iter
> Iter updates: make it similar to Java8 Stream.
> ----------------------------------------------
>
> Key: JENA-1809
> URL: https://issues.apache.org/jira/browse/JENA-1809
> Project: Apache Jena
> Issue Type: Improvement
> Affects Versions: Jena 3.13.1
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Make {{Iter}} look like stream with common naming and signatures (where it
> makes sense).
> Replace custom interfaces usage with Java8 java.util.* interfaces.
> Add operation for iterators that have the coverage of Stream. This includes:
> {noformat}
> anyMatch
> allMatch
> noneMatch
> findFirst -> Optional
> findAny -> Optional
> reduce(BinaryConsumer)
> min(Comparator)
> max(Comparator)
> collect(Collector)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)