BaseTree<C extends Node<C>> class abstract

Base implementation of a stateful root Node in a tree that provides the ArborObserver.

Implemented types

Constructors

BaseTree()

Properties

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

Methods

child<T extends ChildNode<T, N>>(DescendantNodeFactory<T, C> create) ObjectFactory<T>
Creates a child node using the provided factory function.
inherited
createCaching<T>(InstanceManager source, ObjectFactory<T> create, {Disposer<T>? dispose}) → T
inherited
dispose() → void
inherited
init() → void
inherited
instance<T>(ObjectFactory<T> create) ObjectFactory<T>
Creates a new instance using the provided factory function.
inherited
module<T extends ModuleNode<T, N>>(DescendantNodeFactory<T, C> create) → T
Creates a module node using the provided factory function.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shared<T>(ObjectFactory<T> create, {Disposer<T>? dispose}) → T
Creates a shared instance using the provided factory function. Optionally, a disposer function can be provided to dispose of the instance.
inherited
toString() String
A string representation of this object.
inherited

Operators

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