public class CalculateInputFromPair extends CalculationPart<FeatureInputSingleObject,FeatureInputPairObjects>
Three states are possible:
Modifier and Type | Class and Description |
---|---|
static class |
CalculateInputFromPair.Extract |
Constructor and Description |
---|
CalculateInputFromPair(CalculateInputFromPair.Extract extract) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected FeatureInputSingleObject |
execute(FeatureInputPairObjects input)
This performs the actual calculation when needed.
|
int |
hashCode() |
getOrCalculate, hasCachedResult, invalidate
public CalculateInputFromPair(CalculateInputFromPair.Extract extract)
protected FeatureInputSingleObject execute(FeatureInputPairObjects input)
CalculationPart
CalculationPart.invalidate()
is called.execute
in class CalculationPart<FeatureInputSingleObject,FeatureInputPairObjects>
input
- the input to the calculation.public boolean equals(Object o)
equals
in class CalculationPart<FeatureInputSingleObject,FeatureInputPairObjects>
protected boolean canEqual(Object other)
public int hashCode()
hashCode
in class CalculationPart<FeatureInputSingleObject,FeatureInputPairObjects>
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.