public class Prioritizer extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
sort(ArrayList<ManagedInstance<?>> updates,
ArrayList<ManagedInstance<?>> removals,
ManagedInstance<?>[] sortedUpdates,
ManagedInstance<?>[] sortedRemovals,
CallbackAvailability callbackAvailability)
Sorts the managed instances based on their dependencies.
|
public static void sort(ArrayList<ManagedInstance<?>> updates, ArrayList<ManagedInstance<?>> removals, ManagedInstance<?>[] sortedUpdates, ManagedInstance<?>[] sortedRemovals, CallbackAvailability callbackAvailability)
Below is the array of callbacks:
updates - the list of instances to be updatedremovals - the list of instances to be removedsortedRemovals - the sorted array of instances to be removedsortedUpdates - the sorted array of instances to be updatedcallbackAvailability - array of callbacksCopyright © 2012 Batoo Software & Consultancy. All Rights Reserved.