com.espertech.esper.collection
Class IterablesArrayIterator

java.lang.Object
  extended by com.espertech.esper.collection.IterablesArrayIterator
All Implemented Interfaces:
java.util.Iterator<EventBean>

public final class IterablesArrayIterator
extends java.lang.Object
implements java.util.Iterator<EventBean>

An iterator over an array of iterables.


Constructor Summary
IterablesArrayIterator(java.lang.Iterable<EventBean>[][] iterables)
          Constructor - takes a list of Iterable that supply the iterators to iterate over.
 
Method Summary
 boolean hasNext()
           
 EventBean next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IterablesArrayIterator

public IterablesArrayIterator(java.lang.Iterable<EventBean>[][] iterables)
Constructor - takes a list of Iterable that supply the iterators to iterate over.

Parameters:
iterables - is a list of Iterable instances for which iterators to iterator over
Method Detail

next

public EventBean next()
Specified by:
next in interface java.util.Iterator<EventBean>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<EventBean>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<EventBean>

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com