On this page
[Java] Class ListBufferedIterator<T>
- org.codehaus.groovy.util.ListBufferedIterator
- All Implemented Interfaces and Traits:
- BufferedIterator
public class ListBufferedIterator<T>
extends Object
implements BufferedIterator
An implementation for BufferedIterator wraps ListIterator. This version provides an implementation for remove().
- Since:
- 2.5.0
Constructor Summary
Constructor and description |
---|
ListBufferedIterator (List<T> list) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public boolean |
hasNext() |
|
public T |
head() Return the next element to be returned by next() without consuming it. |
|
public T |
next() |
|
public void |
remove() |
Inherited Methods Summary
Constructor Detail
public ListBufferedIterator(List<T> list)
Method Detail
public boolean hasNext()
public T head()
Return the next element to be returned by next() without consuming it.
public T next()
public void remove()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.9/html/gapi/org/codehaus/groovy/util/ListBufferedIterator.html