public class RunningSumParented extends Object
RunningSum
with an additional variable, indicating the total number of parent
operations.
hashCode()
and equals(Object)
delegate to the underlying RunningSum
.
Constructor and Description |
---|
RunningSumParented(int numberParentOperations) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getNumberParentOperations()
The number of parent operations.
|
RunningSum |
getRunningSum() |
int |
hashCode() |
public int getNumberParentOperations()
public RunningSum getRunningSum()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.