Cytoscape 2.8.0 API

cytoscape.util.intr
Class ArrayIntEnumerator

java.lang.Object
  extended by cytoscape.util.intr.ArrayIntEnumerator
All Implemented Interfaces:
IntEnumerator

public final class ArrayIntEnumerator
extends Object
implements IntEnumerator

A utility class which conveniently converts an array of integers into an IntEnumerator (an enumeration of integers).


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

Constructor Detail

ArrayIntEnumerator

public ArrayIntEnumerator(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

numRemaining

public final int numRemaining()
DOCUMENT ME!

Specified by:
numRemaining in interface IntEnumerator
Returns:
DOCUMENT ME!

nextInt

public final int nextInt()
DOCUMENT ME!

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

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.