ArrayDeque

Description

sealed class Tinman.Core.Collections.ArrayDeque<T>

Derived from

DequeBase<T> abstract
ICapacityVector

An implementation of the IDeque interface that uses a dynamic array for storing the queue elements.

Public / Constructors

Array​Deque

2 overloads


public constructor ArrayDeque1 → (1)

capacity opt : int32 = 12

[>=0]
The initial capacity of the deque, in elements.

Creates a new instance of ArrayDeque.

The equality delegate is SystemUtil.EqualsDefault.


public constructor ArrayDeque2 → (2)

equals in : EqualsDelegate<T>

The equality delegate. If null, SystemUtil.EqualsDefault will be used.

capacity opt : int32 = 12

[>=0]
The initial capacity of the deque, in elements.

Creates a new instance of ArrayDeque.

Public / Methods

Clear​Dirty


public method ClearDirty → ()

Removes all elements from this collection, without setting the element values to their defaults.