diff --git a/tp1/.gradle/6.6.1/executionHistory/executionHistory.bin b/tp1/.gradle/6.6.1/executionHistory/executionHistory.bin new file mode 100644 index 0000000000000000000000000000000000000000..3f71b07c77d92ed5759cccb6b3c8e1fc29f20a67 Binary files /dev/null and b/tp1/.gradle/6.6.1/executionHistory/executionHistory.bin differ diff --git a/tp1/.gradle/6.6.1/executionHistory/executionHistory.lock b/tp1/.gradle/6.6.1/executionHistory/executionHistory.lock new file mode 100644 index 0000000000000000000000000000000000000000..d1d26b5f71145d178133f9b27a47ff36e08b3b1e Binary files /dev/null and b/tp1/.gradle/6.6.1/executionHistory/executionHistory.lock differ diff --git a/tp1/.gradle/6.6.1/fileChanges/last-build.bin b/tp1/.gradle/6.6.1/fileChanges/last-build.bin new file mode 100644 index 0000000000000000000000000000000000000000..f76dd238ade08917e6712764a16a22005a50573d Binary files /dev/null and b/tp1/.gradle/6.6.1/fileChanges/last-build.bin differ diff --git a/tp1/.gradle/6.6.1/fileHashes/fileHashes.lock b/tp1/.gradle/6.6.1/fileHashes/fileHashes.lock new file mode 100644 index 0000000000000000000000000000000000000000..a068ba799f92bbe7c187a7c10f8e62aa09fec23d Binary files /dev/null and b/tp1/.gradle/6.6.1/fileHashes/fileHashes.lock differ diff --git a/tp1/.gradle/6.6.1/gc.properties b/tp1/.gradle/6.6.1/gc.properties new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/tp1/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/tp1/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000000000000000000000000000000000000..47cd9cd9efbbf235347b48165a8bf9434fca43e7 Binary files /dev/null and b/tp1/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/tp1/.gradle/buildOutputCleanup/cache.properties b/tp1/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000000000000000000000000000000000000..a234630dc72dc42672fd68556fd3e35096da5322 --- /dev/null +++ b/tp1/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Fri Oct 02 16:48:35 CEST 2020 +gradle.version=6.6.1 diff --git a/tp1/.gradle/checksums/checksums.lock b/tp1/.gradle/checksums/checksums.lock new file mode 100644 index 0000000000000000000000000000000000000000..81975e942065c874ade4acf2fa99ee10b146f8a3 Binary files /dev/null and b/tp1/.gradle/checksums/checksums.lock differ diff --git a/tp1/.gradle/configuration-cache/gc.properties b/tp1/.gradle/configuration-cache/gc.properties new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/tp1/.gradle/vcs-1/gc.properties b/tp1/.gradle/vcs-1/gc.properties new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/tp1/out/production/tp1/.idea/.gitignore b/tp1/out/production/tp1/.idea/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..26d33521af10bcc7fd8cea344038eaaeb78d0ef5 --- /dev/null +++ b/tp1/out/production/tp1/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/tp1/out/production/tp1/.idea/misc.xml b/tp1/out/production/tp1/.idea/misc.xml new file mode 100644 index 0000000000000000000000000000000000000000..3a37236a83c952055389d0f535733557b297fe81 --- /dev/null +++ b/tp1/out/production/tp1/.idea/misc.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectRootManager" version="2" languageLevel="JDK_14" project-jdk-name="14" project-jdk-type="JavaSDK"> + <output url="file://$PROJECT_DIR$/out" /> + </component> +</project> \ No newline at end of file diff --git a/tp1/out/production/tp1/.idea/modules.xml b/tp1/out/production/tp1/.idea/modules.xml new file mode 100644 index 0000000000000000000000000000000000000000..8b76867ec4092496c50017bcb64dd33a335543fa --- /dev/null +++ b/tp1/out/production/tp1/.idea/modules.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectModuleManager"> + <modules> + <module fileurl="file://$PROJECT_DIR$/tp1.iml" filepath="$PROJECT_DIR$/tp1.iml" /> + </modules> + </component> +</project> \ No newline at end of file diff --git a/tp1/out/production/tp1/.idea/vcs.xml b/tp1/out/production/tp1/.idea/vcs.xml new file mode 100644 index 0000000000000000000000000000000000000000..6c0b8635858dc7ad44b93df54b762707ce49eefc --- /dev/null +++ b/tp1/out/production/tp1/.idea/vcs.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="VcsDirectoryMappings"> + <mapping directory="$PROJECT_DIR$/.." vcs="Git" /> + </component> +</project> \ No newline at end of file diff --git a/tp1/out/production/tp1/Cohort.class b/tp1/out/production/tp1/Cohort.class new file mode 100644 index 0000000000000000000000000000000000000000..6421a48e44d0d13133d65d6816f308f6a30f79eb Binary files /dev/null and b/tp1/out/production/tp1/Cohort.class differ diff --git a/tp1/out/production/tp1/Grade.class b/tp1/out/production/tp1/Grade.class new file mode 100644 index 0000000000000000000000000000000000000000..4ed00ef060e1a2051f1900c32d8c891c3b0d4c57 Binary files /dev/null and b/tp1/out/production/tp1/Grade.class differ diff --git a/tp1/out/production/tp1/Main.class b/tp1/out/production/tp1/Main.class new file mode 100644 index 0000000000000000000000000000000000000000..7cb02b839194e81685c37f7cc05aed607938c5dc Binary files /dev/null and b/tp1/out/production/tp1/Main.class differ diff --git a/tp1/out/production/tp1/Student.class b/tp1/out/production/tp1/Student.class new file mode 100644 index 0000000000000000000000000000000000000000..f2ca28c936624067c8b0a2ec6bbdf2a10849a178 Binary files /dev/null and b/tp1/out/production/tp1/Student.class differ diff --git a/tp1/out/production/tp1/TeachingUnit.class b/tp1/out/production/tp1/TeachingUnit.class new file mode 100644 index 0000000000000000000000000000000000000000..77231544cb5516ce697366a52144744845280fe8 Binary files /dev/null and b/tp1/out/production/tp1/TeachingUnit.class differ diff --git a/tp1/out/production/tp1/TeachingUnitResult.class b/tp1/out/production/tp1/TeachingUnitResult.class new file mode 100644 index 0000000000000000000000000000000000000000..1f69b3c2c6f27ab14691342efd80b2a9b3ee83e2 Binary files /dev/null and b/tp1/out/production/tp1/TeachingUnitResult.class differ diff --git a/tp1/out/production/tp1/TestCohort.class b/tp1/out/production/tp1/TestCohort.class new file mode 100644 index 0000000000000000000000000000000000000000..e00a73988aba73a0ed71996a4d46a1941087f459 Binary files /dev/null and b/tp1/out/production/tp1/TestCohort.class differ diff --git a/tp1/out/production/tp1/TestGrade.class b/tp1/out/production/tp1/TestGrade.class new file mode 100644 index 0000000000000000000000000000000000000000..e8b6aa651c2632e7db13404623b8f3664fff1b67 Binary files /dev/null and b/tp1/out/production/tp1/TestGrade.class differ diff --git a/tp1/out/production/tp1/TestStudent.class b/tp1/out/production/tp1/TestStudent.class new file mode 100644 index 0000000000000000000000000000000000000000..d915efcebe1978dc9f85377d5c67a73b7174cdd8 Binary files /dev/null and b/tp1/out/production/tp1/TestStudent.class differ diff --git a/tp1/out/production/tp1/TestTeachingUnitResult.class b/tp1/out/production/tp1/TestTeachingUnitResult.class new file mode 100644 index 0000000000000000000000000000000000000000..7df88526f67c8c1d14c269d28789cd023bbeb88b Binary files /dev/null and b/tp1/out/production/tp1/TestTeachingUnitResult.class differ diff --git a/tp1/Cohort.java b/tp1/src/Cohort.java similarity index 85% rename from tp1/Cohort.java rename to tp1/src/Cohort.java index 2acf2ad0a1ebd4b30c53274027abfc9fdcf339c0..2324d692f72d3abb0fbdb5bcdc97854ca48ffba5 100644 --- a/tp1/Cohort.java +++ b/tp1/src/Cohort.java @@ -11,7 +11,6 @@ public class Cohort { /** * Constructs a cohort with a name equals to the specified {@code name} and no students. - * * @param name the name of the constructed Cohort */ @@ -22,19 +21,17 @@ public class Cohort { /** * Add the specified {@code student} to the students of the cohort. - * * @param student the student to be added to the cohort */ - public void addStudent(Student student) { + public void addStudent(Student student){ students.add(student); } /** * Returns the list of students of the cohort. - * * @return the list of students of the cohort. */ - public List<Student> getStudents() { + public List<Student> getStudents(){ return students; } @@ -45,23 +42,21 @@ public class Cohort { public void printStudentsResults() { printName(); System.out.println(); - for (Student student : students){ + for (Student student : students) { student.printResults(); } - } private void printName() { - System.out.println(name); + System.out.println(name); } /** * Returns the name of the cohort. - * * @return the name of the cohort */ @Override public String toString() { - return name; - } -} + return name; + } + } diff --git a/tp1/Grade.java b/tp1/src/Grade.java similarity index 100% rename from tp1/Grade.java rename to tp1/src/Grade.java diff --git a/tp1/Main.java b/tp1/src/Main.java similarity index 100% rename from tp1/Main.java rename to tp1/src/Main.java diff --git a/tp1/Student.java b/tp1/src/Student.java similarity index 96% rename from tp1/Student.java rename to tp1/src/Student.java index e55ebcde1ce5d312ea9d29c47dc2d05edf66b20a..9b3c2c215f0b9de0455360aab9fbc7c15be86457 100644 --- a/tp1/Student.java +++ b/tp1/src/Student.java @@ -52,8 +52,8 @@ public class Student { */ public List<Grade> getGrades(){ List<Grade> listOfGrades = new ArrayList<>(); - for (TeachingUnitResult result : results) { - listOfGrades.add(result.getGrade()); + for (TeachingUnitResult result : results) { + listOfGrades.add(result.getGrade()); } return listOfGrades; } @@ -111,5 +111,4 @@ public class Student { System.out.println("Note Moyenne = " + this.getAverageGrade().toString()); } - } diff --git a/tp1/TeachingUnitResult.java b/tp1/src/TeachingUnitResult.java similarity index 100% rename from tp1/TeachingUnitResult.java rename to tp1/src/TeachingUnitResult.java diff --git a/tp1/TestCohort.java b/tp1/src/TestCohort.java similarity index 100% rename from tp1/TestCohort.java rename to tp1/src/TestCohort.java diff --git a/tp1/TestGrade.java b/tp1/src/TestGrade.java similarity index 100% rename from tp1/TestGrade.java rename to tp1/src/TestGrade.java diff --git a/tp1/TestStudent.java b/tp1/src/TestStudent.java similarity index 100% rename from tp1/TestStudent.java rename to tp1/src/TestStudent.java diff --git a/tp1/TestTeachingUnitResult.java b/tp1/src/TestTeachingUnitResult.java similarity index 100% rename from tp1/TestTeachingUnitResult.java rename to tp1/src/TestTeachingUnitResult.java diff --git a/tp2/out/production/tp2/.idea/.gitignore b/tp2/out/production/tp2/.idea/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..26d33521af10bcc7fd8cea344038eaaeb78d0ef5 --- /dev/null +++ b/tp2/out/production/tp2/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/tp2/out/production/tp2/.idea/misc.xml b/tp2/out/production/tp2/.idea/misc.xml new file mode 100644 index 0000000000000000000000000000000000000000..3a37236a83c952055389d0f535733557b297fe81 --- /dev/null +++ b/tp2/out/production/tp2/.idea/misc.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectRootManager" version="2" languageLevel="JDK_14" project-jdk-name="14" project-jdk-type="JavaSDK"> + <output url="file://$PROJECT_DIR$/out" /> + </component> +</project> \ No newline at end of file diff --git a/tp2/out/production/tp2/.idea/modules.xml b/tp2/out/production/tp2/.idea/modules.xml new file mode 100644 index 0000000000000000000000000000000000000000..46a7f239a48a463ca835bfd339f1b9a063f995c3 --- /dev/null +++ b/tp2/out/production/tp2/.idea/modules.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectModuleManager"> + <modules> + <module fileurl="file://$PROJECT_DIR$/tp2.iml" filepath="$PROJECT_DIR$/tp2.iml" /> + </modules> + </component> +</project> \ No newline at end of file diff --git a/tp2/out/production/tp2/.idea/vcs.xml b/tp2/out/production/tp2/.idea/vcs.xml new file mode 100644 index 0000000000000000000000000000000000000000..6c0b8635858dc7ad44b93df54b762707ce49eefc --- /dev/null +++ b/tp2/out/production/tp2/.idea/vcs.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="VcsDirectoryMappings"> + <mapping directory="$PROJECT_DIR$/.." vcs="Git" /> + </component> +</project> \ No newline at end of file diff --git a/tp2/out/production/tp2/Crossword.class b/tp2/out/production/tp2/Crossword.class new file mode 100644 index 0000000000000000000000000000000000000000..1b11fe5261ce34ef4437f406c6ea7629b4dbd438 Binary files /dev/null and b/tp2/out/production/tp2/Crossword.class differ diff --git a/tp2/out/production/tp2/CrosswordGUI$Directions.class b/tp2/out/production/tp2/CrosswordGUI$Directions.class new file mode 100644 index 0000000000000000000000000000000000000000..3d3f64d2a9232879648d6a66ec636b319e3413e7 Binary files /dev/null and b/tp2/out/production/tp2/CrosswordGUI$Directions.class differ diff --git a/tp2/out/production/tp2/CrosswordGUI.class b/tp2/out/production/tp2/CrosswordGUI.class new file mode 100644 index 0000000000000000000000000000000000000000..0e2eebbdb3d82031738d17b1ea965f3fc8062119 Binary files /dev/null and b/tp2/out/production/tp2/CrosswordGUI.class differ diff --git a/tp2/out/production/tp2/CrosswordPanel.class b/tp2/out/production/tp2/CrosswordPanel.class new file mode 100644 index 0000000000000000000000000000000000000000..31332c06cfe806a779dddfa44850e5cf2bd22ff0 Binary files /dev/null and b/tp2/out/production/tp2/CrosswordPanel.class differ diff --git a/tp2/out/production/tp2/Main.class b/tp2/out/production/tp2/Main.class new file mode 100644 index 0000000000000000000000000000000000000000..9d13b685a298f764e53e970c6c22083bc57d4f14 Binary files /dev/null and b/tp2/out/production/tp2/Main.class differ diff --git a/tp2/out/production/tp2/WORDS.txt b/tp2/out/production/tp2/WORDS.txt new file mode 100644 index 0000000000000000000000000000000000000000..314a1f4c5a71f50e3ebdb30ea54cd70c13eac2c2 --- /dev/null +++ b/tp2/out/production/tp2/WORDS.txt @@ -0,0 +1,10 @@ +KSHFJGIVCBVN +ASDVKNADLDSS +MANASVADFERT +UMARSEILLEOA +WATERXXHOTID +POKBSEEYOURE +RRRQUOI?SDFG +KARAMBALOOKR +PLOCKDLROOFJ +MNMSIURGNIPD diff --git a/tp2/out/production/tp2/tp2.iml b/tp2/out/production/tp2/tp2.iml new file mode 100644 index 0000000000000000000000000000000000000000..03798fea0dc43502ef23e53ae45eaf82268f0d79 --- /dev/null +++ b/tp2/out/production/tp2/tp2.iml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module type="JAVA_MODULE" version="4"> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/out" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$" isTestSource="false" /> + </content> + <content url="file://$MODULE_DIR$/out" /> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + </component> +</module> \ No newline at end of file diff --git a/tp2/tp2.iml b/tp2/tp2.iml index b107a2dd81165eaaf682ad3da030668b937fbb6c..03798fea0dc43502ef23e53ae45eaf82268f0d79 100644 --- a/tp2/tp2.iml +++ b/tp2/tp2.iml @@ -3,8 +3,10 @@ <component name="NewModuleRootManager" inherit-compiler-output="true"> <exclude-output /> <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/out" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$" isTestSource="false" /> </content> + <content url="file://$MODULE_DIR$/out" /> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> </component> diff --git a/tp3/.idea/.gitignore b/tp3/.idea/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..26d33521af10bcc7fd8cea344038eaaeb78d0ef5 --- /dev/null +++ b/tp3/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/tp3/.idea/misc.xml b/tp3/.idea/misc.xml new file mode 100644 index 0000000000000000000000000000000000000000..e0844bc7be0a8ca77dcee74dfc4059ee4a9d4a1d --- /dev/null +++ b/tp3/.idea/misc.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK"> + <output url="file://$PROJECT_DIR$/out" /> + </component> +</project> \ No newline at end of file diff --git a/tp3/.idea/modules.xml b/tp3/.idea/modules.xml new file mode 100644 index 0000000000000000000000000000000000000000..3d411e5b81e6c9974cdef1cb0d2dbf805d7cf258 --- /dev/null +++ b/tp3/.idea/modules.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectModuleManager"> + <modules> + <module fileurl="file://$PROJECT_DIR$/TP3.iml" filepath="$PROJECT_DIR$/TP3.iml" /> + </modules> + </component> +</project> \ No newline at end of file diff --git a/tp3/.idea/vcs.xml b/tp3/.idea/vcs.xml new file mode 100644 index 0000000000000000000000000000000000000000..6c0b8635858dc7ad44b93df54b762707ce49eefc --- /dev/null +++ b/tp3/.idea/vcs.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="VcsDirectoryMappings"> + <mapping directory="$PROJECT_DIR$/.." vcs="Git" /> + </component> +</project> \ No newline at end of file diff --git a/tp3/TP3.iml b/tp3/TP3.iml new file mode 100644 index 0000000000000000000000000000000000000000..c90834f2d607afe55e6104d8aa2cdfffb713f688 --- /dev/null +++ b/tp3/TP3.iml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module type="JAVA_MODULE" version="4"> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + </component> +</module> \ No newline at end of file diff --git a/tp3/out/production/TP3/Cell.class b/tp3/out/production/TP3/Cell.class new file mode 100644 index 0000000000000000000000000000000000000000..3ef511fb7831ae4c28c0df3761f7051ecb1b34a9 Binary files /dev/null and b/tp3/out/production/TP3/Cell.class differ diff --git a/tp3/out/production/TP3/GameOfLife.class b/tp3/out/production/TP3/GameOfLife.class new file mode 100644 index 0000000000000000000000000000000000000000..0e7ae09d205029e14f730d478553df85afbe252e Binary files /dev/null and b/tp3/out/production/TP3/GameOfLife.class differ diff --git a/tp3/out/production/TP3/GameOfLifeGUI.class b/tp3/out/production/TP3/GameOfLifeGUI.class new file mode 100644 index 0000000000000000000000000000000000000000..40c6aedbbc08bb199b4e3b7944c447d1d20b64f3 Binary files /dev/null and b/tp3/out/production/TP3/GameOfLifeGUI.class differ diff --git a/tp3/out/production/TP3/Grid.class b/tp3/out/production/TP3/Grid.class new file mode 100644 index 0000000000000000000000000000000000000000..d007702d97350cf30e9f5bf6c7f90b39ea132ea6 Binary files /dev/null and b/tp3/out/production/TP3/Grid.class differ diff --git a/tp3/out/production/TP3/GridIterator.class b/tp3/out/production/TP3/GridIterator.class new file mode 100644 index 0000000000000000000000000000000000000000..63f93dabf965b4c7072b798f155f3ff78228a266 Binary files /dev/null and b/tp3/out/production/TP3/GridIterator.class differ diff --git a/tp3/out/production/TP3/Main.class b/tp3/out/production/TP3/Main.class new file mode 100644 index 0000000000000000000000000000000000000000..47e15c6ed95064026dfcf5e0699f841e1a371410 Binary files /dev/null and b/tp3/out/production/TP3/Main.class differ