|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.libraries.base.util.BulkDataUtility
public class BulkDataUtility
A utility class to support reordering operations of arrays.
| Method Summary | |
|---|---|
static void |
pushDown(java.lang.Object[] data,
boolean[] selection)
Pushes the selected elements down. |
static void |
pushDownSingleValue(java.lang.Object[] data,
java.lang.Object selection)
Pushes the selected element down. |
static void |
pushUp(java.lang.Object[] data,
boolean[] selection)
Pushes the selected elements up. |
static void |
pushUpSingleValue(java.lang.Object[] data,
java.lang.Object selection)
Pushes up the selected element. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void pushUp(java.lang.Object[] data,
boolean[] selection)
data - the array holding the data-objects.selection - the selection of which elements should be pushed up.
public static void pushDown(java.lang.Object[] data,
boolean[] selection)
data - the array holding the data-objects.selection - the selection of which elements should be pushed down.
public static void pushUpSingleValue(java.lang.Object[] data,
java.lang.Object selection)
equals() will not
be called. It is assumed that the selected object is part of the data-collection.
The operation modifies the data-array.
data - the array holding the data-objects.selection - the selectioned object that be pushed up.
public static void pushDownSingleValue(java.lang.Object[] data,
java.lang.Object selection)
equals() will not
be called. It is assumed that the selected object is part of the data-collection.
The operation modifies the data-array.
data - the array holding the data-objects.selection - the selectioned object that be pushed down.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||