Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LinkedArray<T>

链表,可以自动分配对象。

Type parameters

  • T

Hierarchy

  • LinkedArray

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Private _count

_count: number

Private _fn

Private _head

_head: INode | null

Private _pool

_pool: Pool<INode>

Private _tail

_tail: INode | null

Accessors

head

  • get head(): null | INode

length

  • get length(): number

tail

  • get tail(): null | INode

Methods

add

forEach

  • forEach(fn: any, binder: any): void

remove

  • remove(node: any): void

Generated using TypeDoc