net.sf.jasperreports.data.cache
Class NumberValuesUtils

java.lang.Object
  extended by net.sf.jasperreports.data.cache.NumberValuesUtils

public class NumberValuesUtils
extends java.lang.Object

Version:
$Id: NumberValuesUtils.java 5133 2012-03-27 11:12:16Z lucianc $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Constructor Summary
protected NumberValuesUtils()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberValuesUtils

protected NumberValuesUtils()
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)


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com