Advertisement
Lucas_Malor

foreach with declarations once

May 12th, 2019
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.15 KB | None | 0 0
  1. {
  2.     Mouse mouse;
  3.     Iterator i;
  4.     for (i = mouses.iterator(); i.hasNext()) {
  5.         mouse = (Mouse) i.next();
  6.        
  7.         [...]
  8.     }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement