public abstract static class GroupingDataset.LineResolvingGroup extends GroupingDataset.Group
Constructor and Description |
---|
LineResolvingGroup() |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
getGroupingValue(Object record) |
LinkedHashMap<Object,List<Object>> |
group(List<Object> records)
Groups given list of records by some value, e.g.
|
public final LinkedHashMap<Object,List<Object>> group(List<Object> records)
GroupingDataset.Group
group
in class GroupingDataset.Group
records
- a list of records, never null, may be empty.records
list. Also, the map keys should be ordered the same way.
Must never return null, may return an empty map. May contain null key, therefore ImmutableSortedMap cannot be used.Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.