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 TypeMethodDescriptionvoid
add
(long value) void
protected long
void
copyValue
(int destIdx, int sourceIdx) int
count()
boolean
full()
Class
<?> void
toString()
void
updateCount
(int count) boolean
valuesEqual
(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:
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
-
add
public void add(long value) -
addValue
- Specified by:
addValue
in interfaceColumnStore
-
full
public boolean full()- Specified by:
full
in interfaceBufferColumnStore
-
resetValues
public void resetValues()- Specified by:
resetValues
in interfaceBufferColumnStore
-
createValues
- Specified by:
createValues
in interfaceColumnStore
-
computeGCD
protected long computeGCD() -
toString
-