Table of Contents

Constructor RandomAccessQueue

Namespace
Gamelogic.Extensions.Algorithms
Assembly
Gamelogic.Extensions.dll

RandomAccessQueue(int)

Initializes a new instance of the RandomAccessQueue<T> class that is empty and has the specified capacity.

public RandomAccessQueue(int capacity = 8)

Parameters

capacity int

The initial capacity of the queue. If omitted, the default capacity will be used.

RandomAccessQueue(IEnumerable<T>)

Initializes a new instance of the RandomAccessQueue<T> class that contains elements copied from the specified collection.

public RandomAccessQueue(IEnumerable<T> collection)

Parameters

collection IEnumerable<T>