2010 FRC Java API


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

2010 FRC Java API


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