Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@
* The class should instantiate a `List` field of `Person` objects named `personList`.
* The class should define a method named `add` which adds a `Person` to the `personList`.
* The class should define a method named `findById` which makes use of a `long id` parameter to return a `Person` object with the respective `id` field.
* The class should define a named `contains` which makes use of a `Person person` parameter to return `true` if the `personList` contains the respective `Person` object.
* The class should define a method named `contains` which makes use of a `Person person` parameter to return `true` if the `personList` contains the respective `Person` object.
* The class should define a method named `remove` which makes use of a `Person person` parameter to remove a respective `Person` object.
* The class should define a method named `remove` which makes use of a `long id` parameter to remove a `Person` object with the respective `id` field.
* The class should define a named `removeAll` which clears our `personList` field.
* The class should define a method named `removeAll` which clears our `personList` field.
* The class should define a method named `count` which returns the size of `personList`.
* The class should define a method named `toArray` which returns an array representation of the `personList` field.
* The class should implement `Iterable<E>` and define a method named `iterator` which makes use of the `personList` field to generate a new a `Iterator<E>`.
Expand Down