prefuse.util.collections
Class CompositeIntIterator

java.lang.Object
  extended by prefuse.util.collections.AbstractLiteralIterator
      extended by prefuse.util.collections.IntIterator
          extended by prefuse.util.collections.CompositeIntIterator
All Implemented Interfaces:
java.util.Iterator, LiteralIterator

public class CompositeIntIterator
extends IntIterator

IntIterator implementation that combines the results of multiple int iterators.

Author:
jeffrey heer

Constructor Summary
CompositeIntIterator(IntIterator[] iters)
           
CompositeIntIterator(IntIterator iter1, IntIterator iter2)
           
 
Method Summary
 boolean hasNext()
           
 int nextInt()
           
 void remove()
           
 
Methods inherited from class prefuse.util.collections.IntIterator
isDoubleSupported, isFloatSupported, isIntSupported, isLongSupported, next, nextDouble, nextFloat, nextLong
 
Methods inherited from class prefuse.util.collections.AbstractLiteralIterator
isBooleanSupported, nextBoolean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeIntIterator

public CompositeIntIterator(IntIterator iter1,
                            IntIterator iter2)

CompositeIntIterator

public CompositeIntIterator(IntIterator[] iters)
Method Detail

nextInt

public int nextInt()
Specified by:
nextInt in interface LiteralIterator
Specified by:
nextInt in class IntIterator
See Also:
IntIterator.nextInt()

hasNext

public boolean hasNext()
See Also:
Iterator.hasNext()

remove

public void remove()


Copyright © 2007 Regents of the University of California