Cytoscape 2.8.0 API

cytoscape.util.intr
Interface LongEnumerator


public interface LongEnumerator

An enumeration over a list of 64 bit integers.


Method Summary
 long nextLong()
          Returns the next 64 bit integer in the enumeration.
 int numRemaining()
          Returns a non-negative integer I such that nextLong() 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 nextLong() will successfully return a value no more and no less than I times.


nextLong

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


Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.