2010 FRC Java API


com.sun.squawk.util
Interface ComputationTimer.Computation

Enclosing class:
ComputationTimer

public static interface ComputationTimer.Computation

A computation to be timed that does not throw 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()
Performs the computation that will be timed.

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

2010 FRC Java API


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