Ver código fonte

Update README.md

Git-Leon 7 anos atrás
pai
commit
8f740d29b9
1 arquivos alterados com 30 adições e 3 exclusões
  1. 30
    3
      README.md

+ 30
- 3
README.md Ver arquivo

@@ -75,9 +75,36 @@
75 75
 	* Create a `testTeach` method that ensures when an `Instructor` invokes the `.teach` method, a respective student's `totalStudyTime` instance variable is incremented.
76 76
 	* Create a `testLecture` method that ensures when an `Instructor` invokes the `.teach` method, a respective student's `totalStudyTime` instance variable is incremented by the specified `numberOfHours`.
77 77
 
78
+
79
+-
80
+# Part 6.1 - Create `Cohort` class
81
+* Create a `Cohort` class.
82
+	* The class should instantiate an `ArrayList` field of `Student` objects named `studentList`.
83
+	* The class should define a method named `addStudent` which adds a `Student` to the `studentList`.
84
+	* The class should define a method named `getStudents` which returns an array representation of the `studentList`.
85
+	* The class should define a named `removeStudents` which clears our `studentList`.
86
+	
87
+-
88
+# Part 6.0 - Test `Cohort`
89
+* Create a `TestCohort` class.
90
+	* Create a `testAddStudent` method which ensures that our `studentList` in our `Cohort` class populated with respective `Student` objects following invokation of the `addStudent` method.
91
+	* Create a `testRemoveStudents` method which ensures that our `studentList` in our `Cohort` class is **depopulated** with respective `Student` objects following invokation of the `removeStudent` method.
92
+	
78 93
 	
79 94
 -
80
-# Part 6.1 - Create `ZipCodeWilmington` Class
95
+# Part 7.0 - Test `MyCohort` singleton
96
+* Create a `TestMyCohort` class.
97
+	* Create a `test` method which ensures that each of the students in your current cohort are in your `MyCohort` singleton.
98
+
99
+-
100
+# Part 7.1 - Create `MyCohort` singleton
101
+* Create a `MyCohort` class using the _singleton design pattern_.
102
+	* The class should populate a composite `private` `Cohort` field with `Student` object-representations of each of your classmates.
103
+	* The composite `Cohort` field should be exposed to the client via a `getCohort` method.
104
+
105
+
106
+-
107
+# Part 8.0 - Create `ZipCodeWilmington` Class
81 108
 * Create a `ZipCodeWilmington` class.
82 109
 	* _Statically_ instantiate a `private` `ArrayList` of `Instructor` objects named `instructorList`.
83 110
 	* Create a `public static` method named `hire` which adds an `Instructor` to the `instructorList` and returns `void`.
@@ -106,9 +133,9 @@ static { // static initializer
106 133
 	* Create a `testHireStaff` method which ensures that our `instructorList` is populated with respective `Instructor` objects.
107 134
 
108 135
 -
109
-# Part 7.1 - Create `TechConnect` Class
136
+# Part 7.1 - Create `Classroom` Class
110 137
 * Create a `TechConnect` class.
111
-	* _Statically_ instantiate a `private` `ArrayList` of `Student` objects named `studentList`.
138
+	* The class should instantiate an `ArrayList` field of `Student` objects named `studentList`.
112 139
 	* Create a `public static` method named `recruitStudent` which adds a `Student` to the `studentList` and returns `void`.
113 140
 	* Create a `public static` method named `getStudents` which returns the `studentList`.
114 141
 	* Create a `public static` method named `removeStudents` which clears our `studentList`.