Sun SPOT API
Green Release  


com.sun.squawk.util
Interface ComputationTimer.ComputationException

Enclosing class:
ComputationTimer

public static interface ComputationTimer.ComputationException

A computation to be timed that throws a checked exception. The computation is performed by invoking Timer.time on the ComputationTimer.Computation object.


Method Summary
 Object run()
          Performs the computation that will be timed.
 

Method Detail

run

Object run()
           throws Exception
Performs the computation that will be timed.

Returns:
a context dependent value that may represent the result of the computation.
Throws:
Exception

Sun SPOT API
Green Release  


Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved.