List of utility methods to do Stack Pop
Object | pop(Stack pop Object result = null; Object value = null; while (!((value = stack.pop()).getClass().isAssignableFrom(type))) { ; if (value != null && value.getClass().isAssignableFrom(type)) result = value; return result; ... |
void | popAll(Stack Pops n elements from stack. for (int i = 0; i != n; i++) { stack.pop(); |