org.globus.cog.karajan.workflow.futures
Class FutureVariableArguments.Iterator

java.lang.Object
  extended byorg.globus.cog.karajan.workflow.futures.FutureVariableArguments.Iterator
All Implemented Interfaces:
Future, FutureIterator, Iterator, KarajanIterator
Enclosing class:
FutureVariableArguments

public static class FutureVariableArguments.Iterator
extends Object
implements FutureIterator


Constructor Summary
FutureVariableArguments.Iterator(FutureVariableArguments vargs, int crt)
           
 
Method Summary
 void addModificationAction(EventListener target, Event event)
          When the future becomes available, send the event to the element.
 void close()
           
 int count()
           
 int current()
           
 Object getValue()
           
 FutureVariableArguments getVargs()
           
 boolean hasAvailable()
           
 boolean hasNext()
           
 boolean isClosed()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FutureVariableArguments.Iterator

public FutureVariableArguments.Iterator(FutureVariableArguments vargs,
                                        int crt)
Method Detail

hasAvailable

public boolean hasAvailable()
Specified by:
hasAvailable in interface FutureIterator

remove

public void remove()
Specified by:
remove in interface Iterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

close

public void close()
Specified by:
close in interface Future

isClosed

public boolean isClosed()
Specified by:
isClosed in interface Future

getValue

public Object getValue()
Specified by:
getValue in interface Future

addModificationAction

public void addModificationAction(EventListener target,
                                  Event event)
Description copied from interface: Future
When the future becomes available, send the event to the element.

Specified by:
addModificationAction in interface Future

current

public int current()
Specified by:
current in interface KarajanIterator

count

public int count()
Specified by:
count in interface KarajanIterator

getVargs

public FutureVariableArguments getVargs()