This is the first time that I\'ve seen this kind of syntax :
// class Node public class Node { ... ... } public class Otherclass { ... } Otherclass gra
It is the enhanced for statement. See section 14.14.2. The enhanced for statement of the Java Language Specification.