xxl.cursors
Class Inductor

java.lang.Object
  |
  +--xxl.cursors.Inductor

public class Inductor
extends java.lang.Object
implements java.util.Iterator


Field Summary
protected  int available
           
protected  Function hasNext
           
protected  Function next
           
protected  boolean nextAvailable
           
protected  java.lang.Object[] objects
           
 
Constructor Summary
Inductor(java.lang.Object[] objects, Function next)
           
Inductor(java.lang.Object[] objects, Function hasNext, Function next)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hasNext

protected Function hasNext

next

protected Function next

objects

protected java.lang.Object[] objects

available

protected int available

nextAvailable

protected boolean nextAvailable
Constructor Detail

Inductor

public Inductor(java.lang.Object[] objects,
                Function hasNext,
                Function next)

Inductor

public Inductor(java.lang.Object[] objects,
                Function next)
Method Detail

hasNext

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

next

public java.lang.Object next()
                      throws java.util.NoSuchElementException
Specified by:
next in interface java.util.Iterator

remove

public void remove()
            throws java.lang.UnsupportedOperationException
Specified by:
remove in interface java.util.Iterator