X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Fclasses%2FDeque.html;h=20be06a5b76a76006e5baa0042c223a86fb56fe5;hb=061c73fe2b7d67ed9f106557bc058b3ed80f1163;hp=6e4909c65dfcbc8ae0da0883db26a5ea148404b0;hpb=10fdf6b15d99197b3e9a783dcc697f1acaf02cd2;p=poolifier.git diff --git a/docs/classes/Deque.html b/docs/classes/Deque.html index 6e4909c6..20be06a5 100644 --- a/docs/classes/Deque.html +++ b/docs/classes/Deque.html @@ -1,7 +1,7 @@ -
Internal
Generated using TypeDoc
Private
incrementAppends data to the deque.
+Data to append.
+The new size of the deque.
+Prepends data to the deque.
+Data to prepend.
+The new size of the deque.
+Generated using TypeDoc
Deque. +
- Preparing search index...
- The search index is not available
poolifier - v3.1.20Class Deque<T>
Internal
Deque. Implemented with a doubly linked list.
-Type Parameters
T
Type of deque data.
-Hierarchy
Index
Constructors
Type Parameters
T
Type of deque data.
+Index
Constructors
Properties
Constructors
constructor
Type Parameters
T
Returns Deque<T>
Properties
Private
Optional
headmax Size
The maximum size of the deque.
-size
The size of the deque.
-Private
Optional
tailMethods
[iterator]
Returns an iterator for the deque.
-Returns Iterator<T, any, undefined>
An iterator for the deque.
+Constructors
constructor
Type Parameters
T
Returns Deque<T>
Properties
Private
Optional
headmax Size
The maximum size of the deque.
+size
The size of the deque.
+Private
Optional
tailMethods
[iterator]
Returns an iterator for the deque.
+Returns Iterator<T, any, undefined>
An iterator for the deque.
See
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
-backward
Returns an backward iterator for the deque.
-Returns Iterable<T>
An backward iterator for the deque.
+backward
Returns an backward iterator for the deque.
+Returns Iterable<T>
An backward iterator for the deque.
See
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
-clear
Clears the deque.
-Returns void
Private
incrementReturns number
peek First
Peeks at the first data.
-Returns undefined | T
The first data or
-undefined
if the deque is empty.peek Last
Peeks at the last data.
-Returns undefined | T
The last data or
-undefined
if the deque is empty.pop
Pops data from the deque.
-Returns undefined | T
The popped data or
-undefined
if the deque is empty.push
Appends data to the deque.
-Parameters
data: T
Data to append.
-Returns number
The new size of the queue.
-shift
Shifts data from the deque.
-Returns undefined | T
The shifted data or
-undefined
if the deque is empty.unshift
Prepends data to the deque.
-Parameters
data: T
Data to prepend.
-Returns number
The new size of the queue.
-Settings
Member Visibility
Theme
On This Page