net.sourceforge.combean.mathprog.grooml
Class GProductSetIterator

Iterator through the elements of a product set.

Field Summary
 int currIdx
           
 List currObjs
           
 Object env
           
 List iters
           
 int numExhausted
           
 GProductSet prodSet
           
 
Constructor Summary
GProductSetIterator(GProductSet prodSet, Object env)
            Constructor.
 
Method Summary
boolean hasNext()
          
void initIters()
          
Object next()
          
void remove()
           Needs to be implemented to satisfy Iterator interface.
 

Constructor Detail

GProductSetIterator

public GProductSetIterator(GProductSet prodSet, Object env)
Constructor.
params:
prodSet the product set through which the Iterator shall iterate.
params:
env the environment in which the iteration takes place


Method Detail

hasNext

public boolean hasNext()


initIters

void initIters()


next

public Object next()


remove

public void remove()
Needs to be implemented to satisfy Iterator interface. Not implemented.