CursorNode - this theElement 0 CursorNode Object theElement...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
package DataStructures; // Basic node stored in a linked list -- cursor version // Note that this class is not accessible outside // of package DataStructures class CursorNode { // Constructors CursorNode( Object theElement )
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { this( theElement, 0 ); } CursorNode( Object theElement, int n ) { element = theElement; next = n; } // Friendly data; accessible by other package routines Object element; int next; }...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online