uintDequeOf

fun uintDequeOf(vararg values: UInt): UIntDeque

Deque of UInts

Creates a new deque instance wrapping the given UInt values.

The returned deque will have a size and capacity equal to the number of values passed to this function.

Example

val deque = dequeOf(1, 2, 3, 4, 5)

deque // Deque{1, 2, 3, 4, 5}

Return

A new UIntDeque instance wrapping the given values.

Parameters

values

UInt values to pre-populate the new Deque with.