示例#1
0
  public static void main(String[] args) {
    NoteList n = new NoteList();

    for (int i = 0; i < 10; i++) {
      try {
        n.addNote(Note.createNote("i1 " + i + " " + i + " 6." + i + " 4"));
      } catch (NoteParseException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      }
    }

    System.out.println("before: \n\n" + n + "\n\n");

    RetrogradeProcessor retro = new RetrogradeProcessor();
    retro.processNotes(n);

    System.out.println("after: \n\n" + n + "\n\n");
  }