Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.util.intr
Interface IntEnumerator

All Known Implementing Classes:
ArrayIntEnumerator

public interface IntEnumerator

An enumeration over a list of 32 bit integers.


Method Summary
 int nextInt()
          Returns the next integer in the enumeration.
 int numRemaining()
          Returns a non-negative integer I such that nextInt() will successfully return a value no more and no less than I times.
 

Method Detail

numRemaining

int numRemaining()
Returns a non-negative integer I such that nextInt() will successfully return a value no more and no less than I times.


nextInt

int nextInt()
Returns the next integer in the enumeration. If numRemaining() returns a non-positive quantity before nextInt() is called, the behavior of this enumeration becomes undefined.


www.cytoscape.org