Class RunningSumParented
Object
org.anchoranalysis.experiment.time.RunningSumParented
public class RunningSumParented extends Object
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
Constructors Constructor Description RunningSumParented(int numberParentOperations) -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)intgetNumberParentOperations()The number of parent operations.org.anchoranalysis.math.arithmetic.RunningSumgetRunningSum()inthashCode()
-
Constructor Details
-
RunningSumParented
public RunningSumParented(int numberParentOperations)
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getNumberParentOperations
public int getNumberParentOperations()The number of parent operations. -
getRunningSum
public org.anchoranalysis.math.arithmetic.RunningSum getRunningSum()
-