IStack<T>.Pop Method

Removes and returns the element at the top of the stack.

Namespace: Spring.Collections
public
 function Pop: T;

Return Value

Type: T

The element removed from the top of the stack.

This will return nil to prevent a dangling reference if the stack has ownership over the instances.