Class DefaultGroupSizeRecorder
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.states.DefaultGroupSizeRecorder
-
- All Implemented Interfaces:
Cloneable
,GroupSizeRecorder
public class DefaultGroupSizeRecorder extends Object implements GroupSizeRecorder
-
-
Constructor Summary
Constructors Constructor Description DefaultGroupSizeRecorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
advanceItems()
Object
clone()
void
enterGroup()
void
enterItems()
int
getCurrentGroupIndex()
int[]
getGroupCounts()
Integer
getPredictedStateCount()
Returns the predicted size of the current group.void
leaveGroup()
void
leaveItems()
void
reset()
-
-
-
Method Detail
-
clone
public Object clone()
- Specified by:
clone
in interfaceGroupSizeRecorder
- Overrides:
clone
in classObject
-
enterGroup
public void enterGroup()
- Specified by:
enterGroup
in interfaceGroupSizeRecorder
-
enterItems
public void enterItems()
- Specified by:
enterItems
in interfaceGroupSizeRecorder
-
advanceItems
public void advanceItems()
- Specified by:
advanceItems
in interfaceGroupSizeRecorder
-
leaveItems
public void leaveItems()
- Specified by:
leaveItems
in interfaceGroupSizeRecorder
-
leaveGroup
public void leaveGroup()
- Specified by:
leaveGroup
in interfaceGroupSizeRecorder
-
reset
public void reset()
- Specified by:
reset
in interfaceGroupSizeRecorder
-
getCurrentGroupIndex
public int getCurrentGroupIndex()
-
getGroupCounts
public int[] getGroupCounts()
-
getPredictedStateCount
public Integer getPredictedStateCount()
Returns the predicted size of the current group. This can returnnull
if there is no prediction.- Specified by:
getPredictedStateCount
in interfaceGroupSizeRecorder
- Returns:
-
-