Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- class Node {
- private int value;
- private Node pNext;
- public int getValue() {
- return this.value;
- }
- public void setValue(final int value) {
- this.value = value;
- }
- public Node getpNext() {
- return this.pNext;
- }
- public void setpNext(final Node next) {
- this.pNext = next;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement