SubtreeIterator class

Итератор для обхода поддерева (BFS, без visited — дерево гарантирует отсутствие циклов)

Inheritance

Constructors

SubtreeIterator(IGraph graph, Node root)

Properties

current → Node
The current element.
no setterinherited
graph → IGraph
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
root → Node
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

moveNext() → bool
Advances the iterator to the next element of the iteration.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCurrent(Node value) → void
inherited
toString() → String
A string representation of this object.
inherited

Operators

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