Skip to content

Update README.md #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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