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 com.sun.corba.se.spi.orbutil.closure.Closure

Fields Summary
private boolean
evaluated
private com.sun.corba.se.spi.orbutil.closure.Closure
closure
private Object
value
Constructors Summary
public Future(com.sun.corba.se.spi.orbutil.closure.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 ;