-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChapter01.java
31 lines (27 loc) · 1003 Bytes
/
Chapter01.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package chapter01;
import utils.ChapterTemplate;
import utils.SolutionTemplate;
import java.util.ArrayList;
/**
* @author Pasquale Convertini <[email protected]>
* @github @pasquale95
* This file is subject to the terms and conditions defined in
* file 'LICENSE', which is part of this source code package.
*/
public class Chapter01 extends ChapterTemplate {
protected static ArrayList<SolutionTemplate> exercises;
public Chapter01() {
exercises = new ArrayList<>();
exercises.add(new chapter01.ex1_1.Solution());
exercises.add(new chapter01.ex1_2.Solution());
exercises.add(new chapter01.ex1_3.Solution());
exercises.add(new chapter01.ex1_4.Solution());
exercises.add(new chapter01.ex1_5.Solution());
exercises.add(new chapter01.ex1_6.Solution());
exercises.add(new chapter01.ex1_7.Solution());
}
@Override
protected ArrayList<SolutionTemplate> getExercises() {
return exercises;
}
}