List.peekStack

Overview | Methods | This Package | All Packages

List.peekStack

Retrieves the topmost item in the stack without removing it. This retrieves the item at the end of the list.

Syntax

public Object peekStack()

Return Value

Returns the last item in the list, or returns null if there are no items.