org.apfloat.samples
Interface Operation

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Pi.BorweinPiCalculator, Pi.ChudnovskyPiCalculator, Pi.GaussLegendrePiCalculator, PiParallel.ThreadLimitedOperation

public interface Operation
extends java.io.Serializable

Interface for implementing arbitrary operations to be executed.


Method Summary
 java.lang.Object execute()
          Executes some code, returning a value.
 

Method Detail

execute

public java.lang.Object execute()
Executes some code, returning a value.

Returns:
Return value of the operation.