Skip to content

Instantly share code, notes, and snippets.

@bkleinen
Created October 9, 2012 06:42
Show Gist options
  • Save bkleinen/3857018 to your computer and use it in GitHub Desktop.
Save bkleinen/3857018 to your computer and use it in GitHub Desktop.
Info3Ex1aNodeToString
public String toString() {
if (next == null)
return data;
else
return data + ", " + next.toString();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment