public final class BulkDataUtility extends Object
Modifier and Type | Method and Description |
---|---|
static void |
pushDown(Object[] data,
boolean[] selection)
Pushes the selected elements down.
|
static void |
pushDownSingleValue(Object[] data,
Object selection)
Pushes the selected element down.
|
static void |
pushUp(Object[] data,
boolean[] selection)
Pushes the selected elements up.
|
static void |
pushUpSingleValue(Object[] data,
Object selection)
Pushes up the selected element.
|
public static void pushUp(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(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(Object[] data, 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(Object[] data, 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.