Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1809

Iter updates: make it similar to Java8 Stream.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • Jena 3.13.1
    • Jena 3.14.0
    • None
    • None

    Description

      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:

      anyMatch
      allMatch
      noneMatch
      findFirst -> Optional
      findAny -> Optional
      reduce(BinaryConsumer)
      min(Comparator)
      max(Comparator)
      collect(Collector)
      

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              andy Andy Seaborne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m