Package adams.data.binning
Class BinnableDataset.StringAttributeGroupExtractor
- java.lang.Object
-
- adams.data.binning.BinnableDataset.StringAttributeGroupExtractor
-
- All Implemented Interfaces:
Grouping.GroupExtractor<DataRow>
,Serializable
- Enclosing class:
- BinnableDataset
public static class BinnableDataset.StringAttributeGroupExtractor extends Object implements Grouping.GroupExtractor<DataRow>, Serializable
Group extractor for string columns.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringAttributeGroupExtractor(int index, String regExp, String group)
Initializes the extractor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
extractGroup(Binnable<DataRow> item)
Extracts the group from the binnable object.
-
-
-
Method Detail
-
extractGroup
public String extractGroup(Binnable<DataRow> item)
Extracts the group from the binnable object.- Specified by:
extractGroup
in interfaceGrouping.GroupExtractor<DataRow>
- Parameters:
item
- the item to extract the group from- Returns:
- the extracted group
-
-