FileDocCategorySizeDatePackage
Future.javaAPI DocJava SE 6 API693Tue Jun 10 00:21:40 BST 2008com.sun.corba.se.impl.orbutil.closure

Future

public class Future extends Object implements Closure

Fields Summary
private boolean
evaluated
private Closure
closure
private Object
value
Constructors Summary
public Future(Closure value)

	this.evaluated = false ;
	this.closure = (Closure)value ;
	this.value = null ;
    
Methods Summary
public synchronized java.lang.Objectevaluate()

	if (!evaluated) {
	    evaluated = true ;
	    value = closure.evaluate() ;
	}

	return value ;