Cytoscape 2.8.0 API

cytoscape.util.intr
Interface IntEnumerator

All Known Subinterfaces:
SpacialEntry2DEnumerator
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.


Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.