Package org.apfloat.samples
Interface Operation<T>
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Pi.BorweinPiCalculator
,Pi.ChudnovskyPiCalculator
,Pi.GaussLegendrePiCalculator
,Pi.RamanujanPiCalculator
,PiDistributed.DistributedChudnovskyPiCalculator
,PiDistributed.DistributedRamanujanPiCalculator
,PiParallel.ParallelChudnovskyPiCalculator
,PiParallel.ParallelRamanujanPiCalculator
,PiParallel.ThreadLimitedOperation
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Operation<T> extends Serializable
Interface for implementing arbitrary operations to be executed.- Version:
- 1.9.0
- Author:
- Mikko Tommila
-
-
Method Detail
-
execute
T execute()
Executes some code, returning a value.- Returns:
- Return value of the operation.
-
-