DependencySorter<T extends Object> class abstract

A simple dependency sorter which will solve well formed dependency structures. It'll detect dependency cycles but it will not help find what caused the cycle or provide any attempt at a best guess for order in cyclic scenarios. Use this as a best case first run and fall back to a more complex solver if this one finds a cycle.

Implementers

Constructors

DependencySorter()

Properties

hashCode int
The hash code for this object.
no setterinherited
order List<T>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dependentsOf(T object) Set<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
sort(T root) List<T>
toString() String
A string representation of this object.
inherited
visit(T n) bool

Operators

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