You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2020/01/06 09:48:00 UTC

[jira] [Created] (JENA-1809) Iter updates: make it similar to Java8 Stream.

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)