public class TestMyPersistentList {

  public static void main(String[] args) {
    PersistentCollection<String> p0 = new PersistentCollection<String>(
        "/Users/ata/Documents/Classes/52/lessons_02_10/lesson10/src/LSP/t0.txt");
    for (String s : args) {
      p0.add(s);
    }
    p0.set(0, "alucubaca!!!");
    System.out.println("Printing File");
    p0.printPersistentData();

    // Second test:
    PersistentCollection<Time> p1 = new PersistentCollection<Time>(
        "/Users/ata/Documents/Classes/52/lessons_02_10/lesson10/src/LSP/t1.txt");
    p1.add(new Time(1, 2, 3));
    p1.add(new Time(2, 3, 4));
    p1.printPersistentData();

  }

}
