Andy Seaborne created JENA-1809:
-----------------------------------
Summary: 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
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)