FileDocCategorySizeDatePackage
Future.javaAPI DocJava SE 5 API692Fri Aug 26 14:54:30 BST 2005com.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 ;