A collection of utility methods related to the base classes. More...
Static Public Member Functions | |
static List< List < SingleEventUpdate > > | sortUpdatesAsChains (List< SingleEventUpdate > updates) |
Sort a list of updates into chains of associated updates. More... | |
static void | sortUpdatesByDate (List< SingleEventUpdate > updates) |
Sort a list of updates by their creation date. More... | |
A collection of utility methods related to the base classes.
|
static |
Sort a list of updates into chains of associated updates.
If update B updates a SingleEvent of another update A in the list 'updates', the resulting list will contain a list with A-B in it. All updates that origin at one SingleEvent will get into the same list, ordered by their date of occurence. The outer list is not sorted.
updates | the list of updates to sort |
|
static |
Sort a list of updates by their creation date.
updates | the list of updates to sort |