ParentedNode<N extends ParentedNode<N, P>, P extends Node<P>> class abstract

ParentedNode is a generic abstract class that implements the Node and HasParent interface, without stating its strategy for managing state.

Implemented types

Constructors

ParentedNode()

Properties

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

Methods

child<C extends ChildNode<C, N>>(DescendantNodeFactory<C, N> create) ObjectFactory<C>
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<M extends ModuleNode<M, N>>(DescendantNodeFactory<M, N> create) → M
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