Package org.apfloat.samples
Interface Operation<T>
-
- All Superinterfaces:
java.io.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 java.io.SerializableInterface for implementing arbitrary operations to be executed.- Version:
- 1.9.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Texecute()Executes some code, returning a value.
-
-
-
Method Detail
-
execute
T execute()
Executes some code, returning a value.- Returns:
- Return value of the operation.
-
-