com.sibvisions.rad.model
Class DataBookSorter

java.lang.Object
  extended by com.sibvisions.rad.model.DataBookSorter

public class DataBookSorter
extends java.lang.Object

The DataBookSorter is a helper class for sorting IDataRows.


Constructor Summary
DataBookSorter(SortDefinition pSort)
          Creates a new instance of DataBookSorter with a specific SortDefinition.
 
Method Summary
 int[] sort(IDataRow[] pDataRows)
          Sorts an array of IDataRows.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataBookSorter

public DataBookSorter(SortDefinition pSort)
Creates a new instance of DataBookSorter with a specific SortDefinition.

Parameters:
pSort - the SortDefinition
Method Detail

sort

public int[] sort(IDataRow[] pDataRows)
Sorts an array of IDataRows.

Parameters:
pDataRows - the IDataRows
Returns:
the sorted indexes


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.