You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,7 +151,7 @@
151
151
* To remedy this issue, we can _generify_ the `People` class.
152
152
153
153
### Part 10.1 - Modify `People` class
154
-
*[Parameterize](https://stackoverflow.com/questions/12551674/what-is-meant-by-parameterized-type) the `People` signature to enfore that it is a container for objects of type `E` such that `E` is a subclass of `Person`.
154
+
*[Parameterize](https://stackoverflow.com/questions/12551674/what-is-meant-by-parameterized-type) the `People` signature to enforce that it is a container for objects of type `E` such that `E` is a subclass of `Person`.
155
155
* Modify `people` field to enforce that is a container of objects of type `E`.
156
156
* Modify the `add` method to ensure that it handles object of type `E`.
157
157
* Modify the `getArray` method to ensure that it returns an object of type `E[]`.
0 commit comments