[GitHub] groovy pull request: Added new class BufferedIterator.

2016-02-03 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/groovy/pull/247 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

[GitHub] groovy pull request: Added new class BufferedIterator.

2016-01-31 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/247#discussion_r51361938 --- Diff: src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java --- @@ -16045,6 +16048,51 @@ public void remove() { }

[GitHub] groovy pull request: Added new class BufferedIterator.

2016-01-31 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/247#discussion_r51361900 --- Diff: src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java --- @@ -16045,6 +16048,51 @@ public void remove() { }

[GitHub] groovy pull request: Added new class BufferedIterator.

2016-01-31 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/247#discussion_r51361896 --- Diff: src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java --- @@ -16045,6 +16048,51 @@ public void remove() { }

[GitHub] groovy pull request: Added new class BufferedIterator.

2016-01-28 Thread jwagenleitner
Github user jwagenleitner commented on a diff in the pull request: https://github.com/apache/groovy/pull/247#discussion_r51169714 --- Diff: src/main/groovy/util/BufferedIterator.java --- @@ -0,0 +1,69 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one

[GitHub] groovy pull request: Added new class BufferedIterator.

2016-01-28 Thread ataylor284
Github user ataylor284 commented on a diff in the pull request: https://github.com/apache/groovy/pull/247#discussion_r51177000 --- Diff: src/main/groovy/util/BufferedIterator.java --- @@ -0,0 +1,69 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one

[GitHub] groovy pull request: Added new class BufferedIterator.

2016-01-24 Thread ataylor284
GitHub user ataylor284 opened a pull request: https://github.com/apache/groovy/pull/247 Added new class BufferedIterator. BufferedIterator is a wrapper for Iterator that adds a new method `head` to return the next item without consuming it. A helper method was also added to