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

Add DGM#getAt(Iterator, int) method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.1
    • 1.7.2, 1.8-beta-1
    • None
    • None

    Description

      It would allow this:

      def iter = [2, "a", 5.3].iterator()
      assert iter[1] == "a"
      

      Not super critical but would provide some additional consistency.

      Attachments

        Activity

          People

            paulk Paul King
            paulk Paul King
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: