public class BulkDataUtility
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
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.
|
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.