org.apfloat.samples
Interface Operation<T>

All Superinterfaces:
Serializable
All Known Implementing Classes:
Pi.AbstractBinarySplittingPiCalculator, Pi.BorweinPiCalculator, Pi.ChudnovskyPiCalculator, Pi.GaussLegendrePiCalculator, Pi.RamanujanPiCalculator, PiDistributed.DistributedChudnovskyPiCalculator, PiParallel.ParallelChudnovskyPiCalculator, PiParallel.ThreadLimitedOperation

public interface Operation<T>
extends Serializable

Interface for implementing arbitrary operations to be executed.

Version:
1.1
Author:
Mikko Tommila

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

Method Detail

execute

T execute()
Executes some code, returning a value.

Returns:
Return value of the operation.