Preparing search index...
The search index is not available
@__haoyang__/erwin
@__haoyang__/erwin
dataStructor
Tree
Class Tree<T>
Tree Data Structure
Type Parameters
T
Index
Constructors
constructor
Methods
get_
children
get_
parent
get_
root
has_
parent
init
insert
Constructors
constructor
new
Tree
<
T
>
()
:
Tree
<
T
>
Type Parameters
T
Returns
Tree
<
T
>
Methods
get_
children
get_children
(
parent
:
T
)
:
T
[]
Parameters
parent
:
T
Returns
T
[]
get_
parent
get_parent
(
child
:
T
)
:
T
Parameters
child
:
T
Returns
T
get_
root
get_root
()
:
T
Returns
T
has_
parent
has_parent
(
child
:
T
)
:
boolean
Parameters
child
:
T
Returns
boolean
init
init
()
:
void
Returns
void
insert
insert
(
parent
:
T
,
child
:
T
)
:
void
Parameters
parent
:
T
child
:
T
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get_
children
get_
parent
get_
root
has_
parent
init
insert
@__haoyang__/erwin
Loading...
Tree Data Structure