Uses of Interface
org.apfloat.samples.Operation
Packages that use Operation
-
Uses of Operation in org.apfloat.samples
Classes in org.apfloat.samples that implement OperationModifier and TypeClassDescriptionstatic classCalculates pi using the Borweins' quartic algorithm.static classBasic class for calculating pi using the Chudnovskys' binary splitting algorithm.static classCalculates pi using the Gauss-Legendre algorithm.static classBasic class for calculating pi using the Ramanujan binary splitting algorithm.static classClass for calculating pi using the distributed Chudnovskys' binary splitting algorithm.static classClass for calculating pi using the distributed Ramanujan's binary splitting algorithm.static classClass for calculating pi using the parallel Chudnovskys' binary splitting algorithm.static classClass for calculating pi using the parallel Ramanujan's binary splitting algorithm.protected static classClass to execute operations while settingApfloatContext.setNumberOfProcessors(int)to some value.Methods in org.apfloat.samples that return OperationModifier and TypeMethodDescriptionPiAWT.getOperation(long precision, int radix) Get the calculation operation to execute.PiParallelAWT.getOperation(long precision, int radix) Methods in org.apfloat.samples with parameters of type OperationModifier and TypeMethodDescription<T> TExecute an operation immediately.<T> TExecutes some code, returning a value.<T> T<T> TExecute 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 voidExecute an operation and display some additional information.Constructors in org.apfloat.samples with parameters of type OperationModifierConstructorDescriptionBackgroundOperation(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.