Class NamedFeatureCalculatorMulti<T extends FeatureInput>
Object
NamedFeatureCalculatorMulti<T>
- Type Parameters:
T- feature input type
A
FeatureCalculatorMulti with associated feature-names.
This class combines a multi-feature calculator with a list of feature names, allowing for named feature calculations.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionNamedFeatureCalculatorMulti(FeatureCalculatorMulti<T> calculator, FeatureNameList names) Creates a newNamedFeatureCalculatorMultiinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe multi-feature calculator.getNames()The list of feature names associated with the calculator.inthashCode()mapCalculator(UnaryOperator<FeatureCalculatorMulti<T>> mapOperator) Creates a new instance by applying a mapping function to the calculator.toString()
-
Constructor Details
-
NamedFeatureCalculatorMulti
Creates a newNamedFeatureCalculatorMultiinstance.- Parameters:
calculator- The multi-feature calculator.names- The list of feature names associated with the calculator.
-
-
Method Details
-
mapCalculator
public NamedFeatureCalculatorMulti<T> mapCalculator(UnaryOperator<FeatureCalculatorMulti<T>> mapOperator) Creates a new instance by applying a mapping function to the calculator.- Parameters:
mapOperator- a unary operator that transforms the calculator- Returns:
- a new NamedFeatureCalculatorMulti with the transformed calculator and the same names
-
getCalculator
The multi-feature calculator. -
getNames
The list of feature names associated with the calculator. -
equals
-
hashCode
public int hashCode() -
toString
-