Package java.util
Class Stack

Public Method empty

boolean empty()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Verifies whether the stack contains no elements.

Example

   Stack stack = new Stack();
   Logger.log("is the stack empty: " + stack.empty());

The example above returns a boolean value and writes it to the logger.