Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: master
    • Fix Version/s: None
    • Component/s: ErraiDataBinding
    • Labels:
      None

      Description

      Can we just add 2 convenience methods in the org.jboss.errai.databinding.client.components.ComponentList interface, for example:
      ===============================
      default Stream<C> stream()

      { return IntStream .range(0, getValue().size()) .mapToObj(i ->getComponent(i)); }

      default Iterator<C> iterator()

      { return stream().iterator(); }

      ===========================

      With a stream/iterator of components, one can easily process tuples of Component/Model.

      The only check to be done is if GWT 2.8 SNAPSHOT already provides java.util.stream.IntStream, which should be there by now.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mbarkley Max Barkley
                Reporter:
                hr.stoyanov Hristo Stoyanov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: