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 classPi.BorweinPiCalculatorCalculates pi using the Borweins' quartic algorithm.static classPi.ChudnovskyPiCalculatorBasic class for calculating pi using the Chudnovskys' binary splitting algorithm.static classPi.GaussLegendrePiCalculatorCalculates pi using the Gauss-Legendre algorithm.static classPi.RamanujanPiCalculatorBasic class for calculating pi using the Ramanujan binary splitting algorithm.static classPiDistributed.DistributedChudnovskyPiCalculatorClass for calculating pi using the distributed Chudnovskys' binary splitting algorithm.static classPiDistributed.DistributedRamanujanPiCalculatorClass for calculating pi using the distributed Ramanujan's binary splitting algorithm.static classPiParallel.ParallelChudnovskyPiCalculatorClass for calculating pi using the parallel Chudnovskys' binary splitting algorithm.static classPiParallel.ParallelRamanujanPiCalculatorClass for calculating pi using the parallel Ramanujan's binary splitting algorithm.protected static classPiParallel.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. operationMethods 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> TLocalOperationExecutor. execute(Operation<T> operation)Execute an operation immediately.<T> TOperationExecutor. execute(Operation<T> operation)Executes some code, returning a value.<T> TPiDistributed.Node. execute(Operation<T> operation)<T> TRemoteOperationExecutor. 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 voidPi. 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.
-