1: // @author Frank M. Carrano 2: // @version 4.0 3: private class Node 4: { 5: private T data; // Entry in bag 6: private Node next; // Link to next node 7: 8: private Node(T dataPortion) 9: { 10: this(dataPortion, null); 11: } // end constructor 12: 13: private Node(T dataPortion, Node nextNode) 14: { 15: data = dataPortion; 16: next = nextNode; 17: } // end constructor 18: } // end Node