public abstract class CalculateObjectMask extends CalculationPart<ObjectMask,FeatureInputSingleObject>
Modifier | Constructor and Description |
---|---|
protected |
CalculateObjectMask(CalculateObjectMask src)
Copy constructor
|
protected |
CalculateObjectMask(int iterations,
ResolvedPartMap<ObjectMask,FeatureInputSingleObject,Integer> map) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected ObjectMask |
execute(FeatureInputSingleObject input)
This performs the actual calculation when needed.
|
int |
hashCode() |
String |
toString() |
getOrCalculate, hasCachedResult, invalidate
protected CalculateObjectMask(CalculateObjectMask src)
src
- where to copy fromprotected CalculateObjectMask(int iterations, ResolvedPartMap<ObjectMask,FeatureInputSingleObject,Integer> map)
protected ObjectMask execute(FeatureInputSingleObject input) throws FeatureCalculationException
CalculationPart
CalculationPart.invalidate()
is called.execute
in class CalculationPart<ObjectMask,FeatureInputSingleObject>
input
- the input to the calculation.FeatureCalculationException
- if the calculation cannot be successfully completed.public boolean equals(Object o)
equals
in class CalculationPart<ObjectMask,FeatureInputSingleObject>
protected boolean canEqual(Object other)
public int hashCode()
hashCode
in class CalculationPart<ObjectMask,FeatureInputSingleObject>
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.