TStack<T>.Peek Method

Returns the element at the top of the stack without removing it.

Namespace: Spring.Collections.Stacks
public
 function Peek: T;

Return Value

Type: T

The element at the top of the stack.

Implements

IStack<T>.Peek