Package MediaPlayer
Class LinkedList.Node
- java.lang.Object
-
- MediaPlayer.LinkedList.Node
-
- Enclosing class:
- LinkedList<E>
protected class LinkedList.Node extends java.lang.Object
Node class for the LinkedList Contains data and a reference to the next node
-
-
Field Summary
Fields Modifier and Type Field Description protected E
data
protected LinkedList.Node
next
-
Constructor Summary
Constructors Constructor Description Node(E data)
Constructor for the Node classNode(E data, LinkedList.Node next)
Constructor for the Node class
-
-
-
Field Detail
-
data
protected E data
-
next
protected LinkedList.Node next
-
-
Constructor Detail
-
Node
public Node(E data)
Constructor for the Node class- Parameters:
data
- The data to store in this node
-
Node
public Node(E data, LinkedList.Node next)
Constructor for the Node class- Parameters:
data
- The data to store in this nodenext
- The reference to the next node
-
-