Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow.core
Class Functor<T>

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.flow.core.Promise<T>
      extended by com.amazonaws.services.simpleworkflow.flow.core.Functor<T>

public abstract class Functor<T>
extends Promise<T>


Constructor Summary
Functor(Promise<?>... waitFor)
           
 
Method Summary
 T get()
           
 boolean isReady()
           
 
Methods inherited from class com.amazonaws.services.simpleworkflow.flow.core.Promise
asPromise, getDescription, Void
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Functor

public Functor(Promise<?>... waitFor)
Method Detail

get

public T get()
Specified by:
get in class Promise<T>
Returns:
result of your asynchronous computation

isReady

public boolean isReady()
Specified by:
isReady in class Promise<T>
Returns:
true if the result of your asynchronous computation is available


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.