groovy
  1. groovy
  2. GROOVY-5402

Provide a plus() method for arrays

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta-2, 1.8.6
    • Fix Version/s: 2.0-beta-3, 1.8.7
    • Component/s: groovy-jdk
    • Labels:
      None
    • Number of attachments :
      0

      Description

      There's already a minus() method added to arrays but there's no plus().
      This RE should make the extended array API consistent.

        Activity

        Show
        Tim Yates added a comment - https://github.com/groovy/groovy-core/pull/39
        Hide
        Paul King added a comment -

        Added including an Iterable variant for plus() and minus(). Thanks for the suggestion and patch.

        Show
        Paul King added a comment - Added including an Iterable variant for plus() and minus(). Thanks for the suggestion and patch.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: