IStack<T>.Peek Method

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

Namespace: Spring.Collections
public
 function Peek: T;

Return Value

Type: T

The element at the top of the stack.