Package org.anchoranalysis.feature.name
Class FeatureNameMapToIndex
Object
FeatureNameMapToIndex
A map of feature-names (strings) to indexes (int).
It is implemented as a HashMap
.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FeatureNameMapToIndex
public FeatureNameMapToIndex()
-
-
Method Details
-
add
Adds a new featureName and index- Parameters:
featureName
-index
-
-
indexOf
The index for a particular featureName- Parameters:
featureName
-- Returns:
- the index
- Throws:
GetOperationFailedException
-