X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FDeque.html;h=4cdec4fd0df2b5761e5eb0a8a0e67b1fa7ce1e8f;hb=4a3cf20442bd8e728f1834006cbe8e2f10fe772a;hp=de90cc103ccd686594108da5439c819677615cb5;hpb=323daa7f98fd16385379e4b6e8def0a9a3f140c8;p=poolifier.git diff --git a/docs/classes/Deque.html b/docs/classes/Deque.html index de90cc10..4cdec4fd 100644 --- a/docs/classes/Deque.html +++ b/docs/classes/Deque.html @@ -1,13 +1,13 @@ -
Generated using TypeDoc
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
size
Private
Optional
tailMethods
See
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
backward
@@ -135,7 +135,7 @@ Implemented with a doubly linked list.
See
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
clear
@@ -146,7 +146,7 @@ Implemented with a doubly linked list.
Returns void
Private
increment@@ -154,106 +154,108 @@ Implemented with a doubly linked list.-
Returns number
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.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.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.push
-- push(value): number
+- push(data): number
-
-
-
-
+
+
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.
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.unshift
-- unshift(value): number
+- unshift(data): number
-
-
-
-
+
+
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.
-
+Settings
Settings
Member Visibility
Theme
@@ -276,70 +278,30 @@ Implemented with a doubly linked list.- shift
- unshift