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

java.lang.Object
  extended byorg.globus.cog.karajan.arguments.VariableArgumentsImpl
      extended byorg.globus.cog.karajan.workflow.futures.FutureVariableArguments
All Implemented Interfaces:
Future, FutureList, VariableArguments
Direct Known Subclasses:
FutureNameBindingVariableArguments

public class FutureVariableArguments
extends VariableArgumentsImpl
implements FutureList


Nested Class Summary
static class FutureVariableArguments.Iterator
           
 
Constructor Summary
FutureVariableArguments()
           
 
Method Summary
 void addModificationAction(EventListener target, Event event)
          When the future becomes available, send the event to the element.
 void append(Object value)
           
 void appendAll(List args)
           
 int available()
           
 void close()
           
 VariableArguments copy()
           
 FutureIterator futureIterator()
           
 Object get(int index)
           
 List getAll()
           
 List getBackingList()
          This should not normally be called.
 List getModificationActions()
           
 Object getValue()
           
 int hashCode()
           
 boolean isClosed()
           
 Iterator iterator()
           
 void merge(VariableArguments args)
           
 int size()
           
 Object[] toArray()
           
 String toString()
           
 
Methods inherited from class org.globus.cog.karajan.arguments.VariableArgumentsImpl
addListener, equals, getListeners, modified, removeFirst, removeListener, set, set, setListeners
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FutureVariableArguments

public FutureVariableArguments()
Method Detail

append

public void append(Object value)
Specified by:
append in interface VariableArguments
Overrides:
append in class VariableArgumentsImpl

appendAll

public void appendAll(List args)
Specified by:
appendAll in interface VariableArguments
Overrides:
appendAll in class VariableArgumentsImpl

merge

public void merge(VariableArguments args)
Specified by:
merge in interface VariableArguments
Overrides:
merge in class VariableArgumentsImpl

close

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

isClosed

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

getValue

public Object getValue()
                throws FutureNotYetAvailable
Specified by:
getValue in interface Future
Throws:
FutureNotYetAvailable

futureIterator

public FutureIterator futureIterator()
Specified by:
futureIterator in interface FutureList

copy

public VariableArguments copy()
Specified by:
copy in interface VariableArguments
Overrides:
copy in class VariableArgumentsImpl

get

public Object get(int index)
Specified by:
get in interface FutureList
Overrides:
get in class VariableArgumentsImpl

getAll

public List getAll()
Specified by:
getAll in interface VariableArguments
Overrides:
getAll in class VariableArgumentsImpl

hashCode

public int hashCode()
Overrides:
hashCode in class VariableArgumentsImpl

iterator

public Iterator iterator()
Specified by:
iterator in interface VariableArguments
Overrides:
iterator in class VariableArgumentsImpl

size

public int size()
Specified by:
size in interface VariableArguments
Overrides:
size in class VariableArgumentsImpl

toArray

public Object[] toArray()
Specified by:
toArray in interface VariableArguments
Overrides:
toArray in class VariableArgumentsImpl

toString

public String toString()
Overrides:
toString in class VariableArgumentsImpl

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

getModificationActions

public List getModificationActions()

available

public int available()

getBackingList

public List getBackingList()
This should not normally be called. It's intended for serialization