Package net.sf.jasperreports.data.cache
Class LongArrayStore
java.lang.Object
net.sf.jasperreports.data.cache.LongArrayStore
- All Implemented Interfaces:
ArrayStore,BufferColumnStore,ColumnStore
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Constructor Summary
ConstructorsConstructorDescriptionLongArrayStore(int size) LongArrayStore(int size, boolean useGCD) LongArrayStore(int size, ValueTransformer valueTransformer) LongArrayStore(int size, ValueTransformer valueTransformer, boolean useGCD) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(long value) voidprotected longvoidcopyValue(int destIdx, int sourceIdx) intcount()booleanfull()Class<?> voidtoString()voidupdateCount(int count) booleanvaluesEqual(int idx1, int idx2)
-
Constructor Details
-
LongArrayStore
public LongArrayStore(int size) -
LongArrayStore
-
LongArrayStore
public LongArrayStore(int size, boolean useGCD) -
LongArrayStore
-
-
Method Details
-
getBaseValuesType
- Specified by:
getBaseValuesTypein interfaceColumnStore
-
count
public int count()- Specified by:
countin interfaceArrayStore
-
valuesEqual
public boolean valuesEqual(int idx1, int idx2) - Specified by:
valuesEqualin interfaceArrayStore
-
copyValue
public void copyValue(int destIdx, int sourceIdx) - Specified by:
copyValuein interfaceArrayStore
-
updateCount
public void updateCount(int count) - Specified by:
updateCountin interfaceArrayStore
-
add
public void add(long value) -
addValue
- Specified by:
addValuein interfaceColumnStore
-
full
public boolean full()- Specified by:
fullin interfaceBufferColumnStore
-
resetValues
public void resetValues()- Specified by:
resetValuesin interfaceBufferColumnStore
-
createValues
- Specified by:
createValuesin interfaceColumnStore
-
computeGCD
protected long computeGCD() -
toString
-