X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FDeque.html;h=4d96f357386c1b00e493da05720a1c5881ad36dd;hb=b2ec8632edaea1f4ee24a532e61ca6e5619b7bfb;hp=b0c57010e5f00c2ca5e59424699d4bf6f51c9ea1;hpb=0fa1d6f0433baf6ff3f67fefdbdf610612a4f3e9;p=poolifier.git diff --git a/docs/classes/Deque.html b/docs/classes/Deque.html index b0c57010..4d96f357 100644 --- a/docs/classes/Deque.html +++ b/docs/classes/Deque.html @@ -1,20 +1,20 @@ -
Internal
Deque. Implemented with a doubly linked list.
@@ -25,7 +25,7 @@ Implemented with a doubly linked list.T
-Type of deque values.
+Type of deque data.
-
+Index
Index
Constructors
-Properties
-Methods
-Constructors
constructor
+constructor
T
Returns Deque<T>
Properties
-Private
Optional
headmax Size
-- Defined in src/deque.ts:25
size
-- Defined in src/deque.ts:23
-Private
Optional
tail-- Defined in src/deque.ts:21
Methods
See
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
-- Defined in src/deque.ts:137
backward
@@ -135,7 +135,7 @@ Implemented with a doubly linked list.
See
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
-- Defined in src/deque.ts:163
clear
@@ -146,7 +146,7 @@ Implemented with a doubly linked list.
Returns void
-- Defined in src/deque.ts:124
Private
increment@@ -154,100 +154,100 @@ Implemented with a doubly linked list.-
Returns number
-- Defined in src/deque.ts:187
peek First
Peeks at the first value.
+Peeks at the first data.
Returns undefined | T
The first value or
+undefined
if the deque is empty.Returns undefined | T
The first data or
undefined
if the deque is empty.-- Defined in src/deque.ts:109
peek Last
Peeks at the last value.
+Peeks at the last data.
Returns undefined | T
The last value or
+undefined
if the deque is empty.Returns undefined | T
The last data or
undefined
if the deque is empty.-- Defined in src/deque.ts:117
pop
Pops a value from the deque.
+Pops data from the deque.
Returns undefined | T
The popped value or
+undefined
if the deque is empty.Returns undefined | T
The popped data or
undefined
if the deque is empty.-- Defined in src/deque.ts:70
push
-- push(value): number
+- push(data): number
-
-
-
-
+- Defined in src/deque.ts:44
- shift(): undefined | T
-
-
-
+- Defined in src/deque.ts:97
-
-
\ No newline at end of file
+
+
\ No newline at end of file
Appends a value to the deque.
+Appends data to the deque.
Parameters
value: T
-Value to append.
+data: T
+Data to append.
Returns number
The new size of the queue.
-- Defined in src/deque.ts:37
shift
Shifts a value from the deque.
+Shifts data from the deque.
Returns undefined | T
The shifted value or
+undefined
if the deque is empty.Returns undefined | T
The shifted data or
undefined
if the deque is empty.-- Defined in src/deque.ts:90
unshift
-- unshift(value): number
+- unshift(data): number
-
-
-
-
+- Defined in src/deque.ts:61
-
+
Prepends a value to the deque.
+Prepends data to the deque.
Parameters
value: T
-Value to prepend.
+data: T
+Data to prepend.
Returns number
The new size of the queue.
-- Defined in src/deque.ts:54
-
+Settings
Settings
Member Visibility
Generated using TypeDoc
Generated using TypeDoc