// expected private static int CountNotes(NoteMap map) { int c = 0; Iterator <Note> it = map.Iterator(); while (it.HasNext()) { it.Next(); c++; } return(c); }
// expected private static int CountNotes(NoteMap map) { int c = 0; Iterator<Note> it = map.Iterator(); while (it.HasNext()) { it.Next(); c++; } return c; }