This shows you the differences between two versions of the page.
poo:laboratoare:13 [2021/01/19 11:49] carmen.odubasteanu |
poo:laboratoare:13 [2023/12/09 11:42] (current) carmen.odubasteanu |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Laboratorul 13. ===== | + | ===== Laboratorul 11. ===== |
=== Problema 1 - Singleton === | === Problema 1 - Singleton === | ||
Line 224: | Line 224: | ||
} | } | ||
public class ScoreVisitor implements Visitor { | public class ScoreVisitor implements Visitor { | ||
- | private HashMap<Teacher, ArrayList<Pair<Student, String,,! Double>>> examScores; | + | private HashMap<Teacher, ArrayList<Pair<Student, String, Double>>> examScores; |
- | private HashMap<Assistant, ArrayList<Pair<Student, String,,! Double>>> partialScores; | + | private HashMap<Assistant, ArrayList<Pair<Student, String, Double>>> partialScores; |
public ScoreVisitor(HashMap<Teacher, ArrayList<Pair<Student, String, Double>>> examScores, HashMap<Assistant, ArrayList<Pair<Student, String, Double>>> partialScores){ | public ScoreVisitor(HashMap<Teacher, ArrayList<Pair<Student, String, Double>>> examScores, HashMap<Assistant, ArrayList<Pair<Student, String, Double>>> partialScores){ | ||
this.examScores=examScores; | this.examScores=examScores; | ||
Line 256: | Line 256: | ||
<note> Folositi pentru testare main-ul de la **Factory**! </note> | <note> Folositi pentru testare main-ul de la **Factory**! </note> | ||
- | <hidden>{{:poo:laboratoare:arhiva_13.zip|Arhiva laborator}}</hidden> | + | <hidden>{{:poo:laboratoare:arhiva_13.zip|Arhiva laborator}} |
+ | </hidden> | ||