/** * Return <code>true</code> if this stack is currently empty. * <p/> * This method exists for compatibility with <code>java.util.Stack</code>. New users of this * class should use <code>isEmpty</code> instead. * * @return true if the stack is currently empty */ public boolean empty() { return isEmpty(); }
/** * Return <code>true</code> if this stack is currently empty. * <p/> * This method exists for compatibility with <code>java.util.Stack</code>. New users of this * class should use <code>isEmpty</code> instead. * * @return true if the stack is currently empty */ public boolean empty() { return isEmpty(); }