Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PNodeStack<E> implements IStack<E> {
- // Referência para o Nodo cabeça
- protected PNode<E> top;
- // Quantidade de elementos na pilha
- protected int size;
- public PNodeStack() {
- top = null;
- size = 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement