ListUtils class

A utility class for performing various operations on lists of GDisplayObjects.

Constructors

ListUtils()
Factory constructor to ensure exception. Throws an exception if an attempt is made to instantiate this class.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

mergeSort(List<GDisplayObject> input, SortChildrenCallback compare, int startIndex, int len, List<GDisplayObject> buffer) → void
Sorts the given list of GDisplayObjects using the merge sort algorithm. The compare callback is used to determine the ordering of the elements. startIndex is the starting index of the sub-list to be sorted. len is the length of the sub-list to be sorted. buffer is a temporary buffer used for merging the sub-lists.