Class FeatureInputStack
Object
FeatureInputDimensions
FeatureInputEnergy
FeatureInputStack
- All Implemented Interfaces:
FeatureInput
,FeatureInputDictionary
,FeatureInputWithResolution
A feature input that represents an energy stack.
This class extends FeatureInputEnergy to provide specific functionality for working with energy stacks in feature calculations.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a FeatureInputStack with an empty energy stack.FeatureInputStack
(Optional<EnergyStackWithoutParameters> energyStack) Constructs a FeatureInputStack with an optional energy stack.FeatureInputStack
(EnergyStackWithoutParameters energyStack) Constructs a FeatureInputStack with the given energy stack. -
Method Summary
Methods inherited from class org.anchoranalysis.feature.input.FeatureInputEnergy
dimensions, dimensionsOptional, dimensionsRequired, getDictionaryOptional, getEnergyStackOptional, getEnergyStackRequired, getResolutionOptional, getUnitConverterOptional, setEnergyStack, setEnergyStack
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.anchoranalysis.feature.input.FeatureInputDictionary
getDictionaryRequired
Methods inherited from interface org.anchoranalysis.feature.input.FeatureInputWithResolution
getResolutionRequired
-
Constructor Details
-
FeatureInputStack
public FeatureInputStack()Constructs a FeatureInputStack with an empty energy stack.Should only be used if it's guaranteed the energy stack will be added later, as this is required for proper functionality.
-
FeatureInputStack
Constructs a FeatureInputStack with the given energy stack.- Parameters:
energyStack
- The energy stack to be used in this feature input.
-
FeatureInputStack
Constructs a FeatureInputStack with an optional energy stack.- Parameters:
energyStack
- An optional energy stack. If present, it will be used to initialize this feature input. If not present, the energy stack will be empty.
-
-
Method Details
-
equals
- Overrides:
equals
in classFeatureInputEnergy
-
canEqual
- Overrides:
canEqual
in classFeatureInputEnergy
-
hashCode
public int hashCode()- Overrides:
hashCode
in classFeatureInputEnergy
-