Class ForkLoopWithPhaserIterativeAverager
java.lang.Object
iterativeaveraging.rigid.exercise.ForkLoopWithPhaserIterativeAverager
- All Implemented Interfaces:
IterativeAverager
- Author:
- __STUDENT_NAME__, Dennis Cosgrove
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]
iterativelyAverage
(double[] originalArray, int iterationCount) int
toString()
-
Constructor Details
-
ForkLoopWithPhaserIterativeAverager
public ForkLoopWithPhaserIterativeAverager(int sliceCount)
-
-
Method Details
-
sliceCount
public int sliceCount() -
iterativelyAverage
public double[] iterativelyAverage(double[] originalArray, int iterationCount) throws InterruptedException, ExecutionException - Specified by:
iterativelyAverage
in interfaceIterativeAverager
- Throws:
InterruptedException
ExecutionException
-
toString
-