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

init(), dropRight() and takeRight()

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0-beta-3
    • groovy-jdk
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: