Click or drag to resize
ResizingArrayQueueItemPeek Method
Returns the item least recently added to this queue.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Item Peek()

Return Value

Type: Item
the item least recently added to this queue
Exceptions
ExceptionCondition
InvalidOperationExceptionif this queue is empty
See Also