Uses of Interface
org.apfloat.samples.Operation
-
Packages that use Operation Package Description org.apfloat.samples Sample applications demonstrating apfloat use. -
-
Uses of Operation in org.apfloat.samples
Classes in org.apfloat.samples that implement Operation Modifier and Type Class Description static class
Pi.BorweinPiCalculator
Calculates pi using the Borweins' quartic algorithm.static class
Pi.ChudnovskyPiCalculator
Basic class for calculating pi using the Chudnovskys' binary splitting algorithm.static class
Pi.GaussLegendrePiCalculator
Calculates pi using the Gauss-Legendre algorithm.static class
Pi.RamanujanPiCalculator
Basic class for calculating pi using the Ramanujan binary splitting algorithm.static class
PiDistributed.DistributedChudnovskyPiCalculator
Class for calculating pi using the distributed Chudnovskys' binary splitting algorithm.static class
PiDistributed.DistributedRamanujanPiCalculator
Class for calculating pi using the distributed Ramanujan's binary splitting algorithm.static class
PiParallel.ParallelChudnovskyPiCalculator
Class for calculating pi using the parallel Chudnovskys' binary splitting algorithm.static class
PiParallel.ParallelRamanujanPiCalculator
Class for calculating pi using the parallel Ramanujan's binary splitting algorithm.protected static class
PiParallel.ThreadLimitedOperation<T>
Class to execute operations while settingApfloatContext.setNumberOfProcessors(int)
to some value.Fields in org.apfloat.samples declared as Operation Modifier and Type Field Description private Operation<T>
PiParallel.ThreadLimitedOperation. operation
Methods in org.apfloat.samples that return Operation Modifier and Type Method Description protected Operation<Apfloat>
PiAWT. getOperation(long precision, int radix)
Get the calculation operation to execute.protected Operation<Apfloat>
PiParallelAWT. getOperation(long precision, int radix)
Methods in org.apfloat.samples with parameters of type Operation Modifier and Type Method Description <T> T
LocalOperationExecutor. execute(Operation<T> operation)
Execute an operation immediately.<T> T
OperationExecutor. execute(Operation<T> operation)
Executes some code, returning a value.<T> T
PiDistributed.Node. execute(Operation<T> operation)
<T> T
RemoteOperationExecutor. execute(Operation<T> operation)
Execute an operation remotely.<T> BackgroundOperation<T>
LocalOperationExecutor. executeBackground(Operation<T> operation)
Execute an operation in the background.<T> BackgroundOperation<T>
OperationExecutor. executeBackground(Operation<T> operation)
Starts executing some code in the background.<T> BackgroundOperation<T>
PiDistributed.Node. executeBackground(Operation<T> operation)
<T> BackgroundOperation<T>
RemoteOperationExecutor. executeBackground(Operation<T> operation)
Execute an operation remotely.static void
Pi. run(long precision, int radix, Operation<Apfloat> operation)
Execute an operation and display some additional information.Constructors in org.apfloat.samples with parameters of type Operation Constructor Description BackgroundOperation(Operation<T> operation)
Runs an operation in the background in a separate thread.ThreadLimitedOperation(Operation<T> operation, int numberOfProcessors)
Wrap an existing operation to a thread limited context.
-