Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class PNode<E> {
  2.     // Variáveis de instância
  3.     private E element;
  4.     private PNode<E> next;
  5.  
  6.     public PNode() {
  7.         this(null, null);
  8.     }
  9.  
  10.     public PNode(E element, PNode<E> next) {
  11.         this.element = element;
  12.         this.next = next;
  13.     }
  14.    // Métodos getters e setters abaixo
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement