append

fun append(value: T)

Appends the given value to the tail end of the queue.

Parameters

value

Value to append to the queue.

Throws

If appending this value would increase the queue's size to be greater than maxSize.