groovy
  1. groovy
  2. GROOVY-3106

Provide a split(closure) DGM method on collections

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7-beta-1
    • Fix Version/s: 1.6-rc-1, 1.5.8, 1.7-beta-1
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Based on mailing list feedback it seems like split() is worthwhile but partition() can almost as easily be replicated using groupBy so maybe not worth it.

      The functionality is the same as findAll() but returns both the accepted and rejected elements in two lists.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Paul King
            Reporter:
            Paul King
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: