Class RunningSumParented
Object
RunningSumParented
Wraps a
RunningSum
with an additional variable, indicating the total number of parent
operations.
hashCode()
and equals(Object)
delegate to the underlying RunningSum
.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionRunningSumParented
(int numberParentOperations) Creates a newRunningSumParented
instance. -
Method Summary
-
Constructor Details
-
RunningSumParented
public RunningSumParented(int numberParentOperations) Creates a newRunningSumParented
instance.- Parameters:
numberParentOperations
- The number of parent operations.
-
-
Method Details