Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6867

init(), dropRight() and takeRight()

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0-beta-3
    • Component/s: groovy-jdk
    • Labels:
      None
    • Flags:
      Patch

      Description

      Iterable, List and Object[] have tail(), drop() and take() but init(), dropRight() and takeRight() are missing.
      I added them. The patch is here.
      https://github.com/groovy/groovy-core/pull/447

      Method names are from Scala.
      http://www.scala-lang.org/api/2.10.4/index.html#scala.collection.immutable.List

        Attachments

          Activity

            People

            • Assignee:
              paulk Paul King
              Reporter:
              yukoba Yu Kobayashi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: