org.apfloat.samples
Interface Operation

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

public interface Operation
extends Serializable

Interface for implementing arbitrary operations to be executed.

Version:
1.0
Author:
Mikko Tommila

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

Method Detail

execute

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

Returns:
Return value of the operation.