Package net.sf.jasperreports.data.cache
Class DoubleArrayStore
- java.lang.Object
-
- net.sf.jasperreports.data.cache.DoubleArrayStore
-
- All Implemented Interfaces:
ArrayStore
,BufferColumnStore
,ColumnStore
public class DoubleArrayStore extends Object implements BufferColumnStore, ArrayStore
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description DoubleArrayStore(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValue(Object object)
void
copyValue(int destIdx, int sourceIdx)
int
count()
ColumnValues
createValues()
boolean
full()
Class<?>
getBaseValuesType()
void
resetValues()
String
toString()
void
updateCount(int count)
boolean
valuesEqual(int idx1, int idx2)
-
-
-
Method Detail
-
getBaseValuesType
public Class<?> getBaseValuesType()
- Specified by:
getBaseValuesType
in interfaceColumnStore
-
count
public int count()
- Specified by:
count
in interfaceArrayStore
-
valuesEqual
public boolean valuesEqual(int idx1, int idx2)
- Specified by:
valuesEqual
in interfaceArrayStore
-
copyValue
public void copyValue(int destIdx, int sourceIdx)
- Specified by:
copyValue
in interfaceArrayStore
-
updateCount
public void updateCount(int count)
- Specified by:
updateCount
in interfaceArrayStore
-
addValue
public void addValue(Object object)
- Specified by:
addValue
in interfaceColumnStore
-
full
public boolean full()
- Specified by:
full
in interfaceBufferColumnStore
-
resetValues
public void resetValues()
- Specified by:
resetValues
in interfaceBufferColumnStore
-
createValues
public ColumnValues createValues()
- Specified by:
createValues
in interfaceColumnStore
-
-