Package net.sf.jasperreports.data.cache
Class RunLengthStore
- java.lang.Object
-
- net.sf.jasperreports.data.cache.RunLengthStore
-
public class RunLengthStore extends Object
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
MAX_RUN_LENGTH
-
Constructor Summary
Constructors Constructor Description RunLengthStore(ArrayStore store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnValues
applyRunLengths(ValueLength valueLength)
int
getMaxRunLength()
int
getRunCount()
int
getRunStart()
void
reset()
String
toString()
protected boolean
useRunLength(int count, ValueLength valueLength, ValueLength runLength)
void
valueAdded()
-
-
-
Field Detail
-
MAX_RUN_LENGTH
protected static final int MAX_RUN_LENGTH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RunLengthStore
public RunLengthStore(ArrayStore store)
-
-
Method Detail
-
reset
public void reset()
-
valueAdded
public void valueAdded()
-
applyRunLengths
public ColumnValues applyRunLengths(ValueLength valueLength)
-
useRunLength
protected boolean useRunLength(int count, ValueLength valueLength, ValueLength runLength)
-
getRunStart
public int getRunStart()
-
getRunCount
public int getRunCount()
-
getMaxRunLength
public int getMaxRunLength()
-
-