com.stimulsoft.report.dictionary
Class StiDataSort

java.lang.Object
  extended by com.stimulsoft.report.dictionary.StiDataSort
All Implemented Interfaces:
java.util.Comparator<DataRow>

public class StiDataSort
extends java.lang.Object
implements java.util.Comparator<DataRow>

Copyright Stimulsoft


Constructor Summary
StiDataSort(java.util.Hashtable<DataRow,java.lang.Integer> rowToConditions, java.lang.Object[][][] conditions, java.util.List<StiSort> sortColumns, StiDataSource dataSource)
           
 
Method Summary
 void Clear()
           
 int compare(DataRow row1, DataRow row2)
           
static int CompareValues(java.lang.Object value1, java.lang.Object value2)
           
static int CompareValues(java.lang.Object value1, java.lang.Object value2, StiSort.Order order)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

StiDataSort

public StiDataSort(java.util.Hashtable<DataRow,java.lang.Integer> rowToConditions,
                   java.lang.Object[][][] conditions,
                   java.util.List<StiSort> sortColumns,
                   StiDataSource dataSource)
Method Detail

compare

public int compare(DataRow row1,
                   DataRow row2)
Specified by:
compare in interface java.util.Comparator<DataRow>

CompareValues

public static int CompareValues(java.lang.Object value1,
                                java.lang.Object value2)

CompareValues

public static int CompareValues(java.lang.Object value1,
                                java.lang.Object value2,
                                StiSort.Order order)

Clear

public final void Clear()