Guest User

Untitled

a guest
Jan 19th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. Node<E> walk = head;
  2. while (walk != null) {
  3. //do the job
  4. walk = walk.getNext();
  5. }
  6.  
  7. for (Node<E> walk = head; walk.next != null; walk = walk.next) {
  8. //do the job
  9. }
Add Comment
Please, Sign In to add comment