Class GroupIterator

java.lang.Object
org.apache.camel.support.GroupIterator
All Implemented Interfaces:
Closeable, AutoCloseable, Iterator<Object>

public final class GroupIterator extends Object implements Iterator<Object>, Closeable
Group based Iterator which groups the given Iterator a number of times and then return a combined response as a List.

This implementation uses a internal array list, to combine the response.

See Also: