Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PNode<E> {
- // Variáveis de instância
- private E element;
- private PNode<E> next;
- public PNode() {
- this(null, null);
- }
- public PNode(E element, PNode<E> next) {
- this.element = element;
- this.next = next;
- }
- // Métodos getters e setters abaixo
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement