public final class IntStack
extends java.lang.Object
| Constructor and Description | 
|---|
| IntStack() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clear()Clears the stack. | 
| int | elementAt(int depth)Returns the element at the specified depth in the stack. | 
| int | peek()Peeks at the top of the stack. | 
| int | pop()Pops a value off of the stack. | 
| void | print()Prints the stack. | 
| void | push(int value)Pushes a value onto the stack. | 
| int | size()Returns the size of the stack. | 
public int size()
public void push(int value)
public int peek()
public int elementAt(int depth)
public int pop()
public void clear()
public void print()
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.