Preparing search index...
The search index is not available
@selenite/commons
@selenite/commons
DataStructure
Queue
Class Queue<T>
Type Parameters
T
Index
Constructors
constructor
Accessors
size
Methods
add
peek
remove
take
take
All
Constructors
constructor
new
Queue
<
T
>
(
iterable
?
)
:
Queue
<
T
>
Type Parameters
T
Parameters
Optional
iterable
:
Iterable
<
T
,
any
,
any
>
Returns
Queue
<
T
>
Accessors
size
get
size
(
)
:
number
Returns
number
Methods
add
add
(
e
)
:
void
Parameters
e
:
T
Returns
void
peek
peek
(
)
:
T
Returns
T
remove
remove
(
)
:
T
Returns
T
take
take
(
amount
)
:
T
[]
Parameters
amount
:
number
Returns
T
[]
take
All
take
All
(
)
:
T
[]
Returns
T
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
size
Methods
add
peek
remove
take
take
All
@selenite/commons
Loading...