public class DefaultGroupingState extends Object implements GroupingState
Modifier and Type | Field and Description |
---|---|
static GroupingState |
EMPTY |
Constructor and Description |
---|
DefaultGroupingState(int currentGroup,
org.pentaho.reporting.libraries.base.util.FastStack<GroupStartRecord> groupStarts) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentGroup() |
int |
getGroupStartRow(int group) |
int |
getGroupStartRow(String group) |
public static final GroupingState EMPTY
public DefaultGroupingState(int currentGroup, org.pentaho.reporting.libraries.base.util.FastStack<GroupStartRecord> groupStarts)
public int getCurrentGroup()
getCurrentGroup
in interface GroupingState
public int getGroupStartRow(String group)
getGroupStartRow
in interface GroupingState
public int getGroupStartRow(int group)
getGroupStartRow
in interface GroupingState