X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FDeque.html;h=2bc899a2cd1672dcab37359dacfb9d3437475072;hb=ecde6ea8c439bbdd9dc2ca118731b5006a1a9884;hp=2fb1576fcb5d616b86328ad2c4a5ee3b7bacba8f;hpb=f6d05faa76d51c0a39fc4585856e5b3a21eba157;p=poolifier.git diff --git a/docs/classes/Deque.html b/docs/classes/Deque.html index 2fb1576f..2bc899a2 100644 --- a/docs/classes/Deque.html +++ b/docs/classes/Deque.html @@ -1,7 +1,7 @@ -
Internal
Deque. +
- Preparing search index...
- The search index is not available
poolifier - v3.1.29Class Deque<T>
Internal
Deque. Implemented with a doubly linked list.
Type Parameters
Type of deque data.
-Index
Constructors
Index
Constructors
Properties
Constructors
constructor
Type Parameters
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.
+Constructors
constructor
Type Parameters
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.
+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.
+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.
+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.
+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.
+push
Appends data to the deque.
Parameters
Data to append.
Returns number
The new size of the deque.
-shift
Shifts data from the deque.
+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.
+unshift
Prepends data to the deque.
Parameters
Data to prepend.
Returns number
The new size of the deque.
-Settings
Member Visibility
Theme
On This Page
Generated using TypeDoc
Settings
Member Visibility
Theme
On This Page
Generated using TypeDoc