Cytoscape 2.8.0 API

cytoscape.util.intr
Class ArrayIntIterator

java.lang.Object
  extended by cytoscape.util.intr.ArrayIntIterator
All Implemented Interfaces:
IntIterator

public final class ArrayIntIterator
extends Object
implements IntIterator

A utility class which conveniently converts an array of integers into an IntIterator (an iteration of integers).


Constructor Summary
ArrayIntIterator(int[] elements, int beginIndex, int length)
          No copy of the elements array is made.
 
Method Summary
 boolean hasNext()
          DOCUMENT ME!
 int nextInt()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayIntIterator

public ArrayIntIterator(int[] elements,
                        int beginIndex,
                        int length)
No copy of the elements array is made. The contents of the array are never modified by this object.

Method Detail

hasNext

public final boolean hasNext()
DOCUMENT ME!

Specified by:
hasNext in interface IntIterator
Returns:
DOCUMENT ME!

nextInt

public final int nextInt()
DOCUMENT ME!

Specified by:
nextInt in interface IntIterator
Returns:
DOCUMENT ME!

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.