[
https://issues.apache.org/jira/browse/JENA-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Seaborne resolved JENA-1809.
---------------------------------
Fix Version/s: Jena 3.14.0
Resolution: Done
> 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
> Fix For: Jena 3.14.0
>
> 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)