1 /*
2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
4 */
5 package blocconotetest;
6 6
7 /**
8 *
9 * @author alex_2
10 */
11 public class BloccoNoteTest {
12 12
13 /**
14 * @param args the command line arguments
15 */
16 public static void main(String[] args) {
17 BloccoNote a = new BloccoNote("Appunti lavoro");
18 a.aggiungiAppunto(new Appunto("Riunione a Bruxelles",3));
19 a.aggiungiAppunto(new Appunto("Ritirare camicia",2));
20 a.aggiungiAppunto(new Appunto("Cena con Vizzoni",5));
21 Appunto temp[] = a.getAppuntiPerImportanza(2);
22 for (int i = 0; i < temp.length; i++)
23 System.out.println(temp[i]);
24 temp = a .getAppuntiOrdinati();
25 for (int i = 0; i < temp.length; i++)
26 System.out.println(temp[i]);
27 a.stampaAppunti();
28 }
29 }
30