prefuse.util.collections
Class IntArrayIterator

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

public class IntArrayIterator
extends IntIterator

IntIterator implementation that provides an iteration over the contents of an int array.

Author:
jeffrey heer

Constructor Summary
IntArrayIterator(int[] array, int start, int len)
           
 
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

IntArrayIterator

public IntArrayIterator(int[] array,
                        int start,
                        int len)
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