Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package DLList;
- public class DLNode<T> {
- public DLNode<T> prev;
- public T value ;
- public DLNode<T> next;
- public DLNode(DLNode<T> prev, T value, DLNode<T> next) {
- this.prev = prev;
- this.value = value;
- this.next = next;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement