Button | Tooltip | Description |
---|---|---|
Rerun (Control-F5) | Rerun the code in current class. | |
Step Over (F8) | Go to the next line, stepping over method calls. | |
Step Into (F7) | Go to the next line, stepping into a
method, if there is one. | |
Force Step Into (Alt-Shift-F7) | Go to the next line,
stepping into a method, if there is one, even if it is into the Java Class library. | |
Step Out (Shift-F8) | Go to the next line, skipping over method calls. | |
Run to Cursor (Alt-F9) | Run program from current line to cursor position. | |
Evaluate Expression (Alt-F8) | Evaluate expression. |
// First style: for(Map.Entry<K, V> pair : hm.entrySet( )) { System.out.println(pair.getKey( ) + " " + pair.getValue( )); } // Second style: for(V value : hm.values( )) { System.out.println(value); }
public class ClassName implements Serializable {