Package net.sf.jasperreports.data.cache
Class NumberValuesUtils
- java.lang.Object
-
- net.sf.jasperreports.data.cache.NumberValuesUtils
-
public class NumberValuesUtils extends Object
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NumberValuesUtils()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NumberValuesUtils
instance()
protected ColumnValues
toByteValues(int count, long[] values, long linearFactor, long linearOffset)
protected ColumnValues
toIntValues(int count, long[] values, long linearFactor, long linearOffset)
protected ColumnValues
toLongValues(int count, long[] values, long linearFactor, long linearOffset)
protected ColumnValues
toShortValues(int count, long[] values, long linearFactor, long linearOffset)
ColumnValues
toValues(int count, long[] values, ValueLength valueLength, long linearFactor, long linearOffset)
-
-
-
Method Detail
-
instance
public static NumberValuesUtils instance()
-
toValues
public ColumnValues toValues(int count, long[] values, ValueLength valueLength, long linearFactor, long linearOffset)
-
toByteValues
protected ColumnValues toByteValues(int count, long[] values, long linearFactor, long linearOffset)
-
toShortValues
protected ColumnValues toShortValues(int count, long[] values, long linearFactor, long linearOffset)
-
toIntValues
protected ColumnValues toIntValues(int count, long[] values, long linearFactor, long linearOffset)
-
toLongValues
protected ColumnValues toLongValues(int count, long[] values, long linearFactor, long linearOffset)
-
-