Uploaded image for project: 'Metadata Aggregator'
  1. Metadata Aggregator
  2. MDA-210

Consider Java 8+ Streams operations

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None

      Description

      As the next version of the MDA is going to be based on (at least) Java 8, it makes sense to spend at least a little time thinking about whether that version's Streams functionality might contribute to MDA operations.

      At first glance, operations like iterating, mapping and filtering do seem to have correlations between our current system and Streams. However, the Streams API tends to be used with less heavyweight object than out Item<Whatever>. This means, for example, that writing appropriate lambda expressions to plug into stream operations might not be straightforward.

      It's worth looking into, though: I don't think we'd want to put any kind of elaborate streams functionality into V1.0, but if there were a couple of small things we could add to enable exploration and experimentation then those might be worth doing.

        Attachments

          Activity

            People

            Assignee:
            ian@iay.org.uk Ian Young
            Reporter:
            ian@iay.org.uk Ian Young
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: