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 class
Calculates pi using the Borweins' quartic algorithm.static class
Basic class for calculating pi using the Chudnovskys' binary splitting algorithm.static class
Calculates pi using the Gauss-Legendre algorithm.static class
Basic class for calculating pi using the Ramanujan binary splitting algorithm.static class
Class for calculating pi using the distributed Chudnovskys' binary splitting algorithm.static class
Class for calculating pi using the distributed Ramanujan's binary splitting algorithm.static class
Class for calculating pi using the parallel Chudnovskys' binary splitting algorithm.static class
Class for calculating pi using the parallel Ramanujan's binary splitting algorithm.protected static class
Class 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> T
Execute an operation immediately.<T> T
Executes some code, returning a value.<T> T
<T> T
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
Execute 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.