Abstract class which should be extended to create a type which is ordered and grouped (for instance, ordering variables by line number and grouping by file).
If the ordered data should not be grouped (for instance, ordering a subset of the integers),
use Ordered<T>::Type instead.
To use this class, extend it e.g.
class OrderedVariable extends Ordered<variable>::GroupBy<File>::Type and implement
the members int getOrder(), which is used to order the items, and File getGroup, which is
used to segment the items into separate lists. The predicate getOrder must not have
duplicate values for two items within the same group to ensure correctness.
Import path
import qtil.list.OrderedDirect supertypes
Predicates
| getDenseIndex | Returns the index of this item in the dense list. |
| getGroup | Items are ordered by the result of this member predicate. |
| getListEntry | Get the underlying |
| getNext | Returns the next item in the list. |
| getOrder | Items are ordered by the result of this member predicate. |
| getPrevious | Returns the previous item in the list. |