Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class PNodeStack<E> implements IStack<E> {
  2.     // Referência para o Nodo cabeça
  3.     protected PNode<E> top;
  4.     // Quantidade de elementos na pilha
  5.     protected int size;
  6.  
  7.     public PNodeStack() {
  8.         top = null;
  9.         size = 0;
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement