From 4c88db8effdb1486b709267abba122766a3cf4c3 Mon Sep 17 00:00:00 2001 From: Dean Walls <88060888+deanOfWalls@users.noreply.github.com> Date: Thu, 10 Oct 2024 16:10:04 -0400 Subject: [PATCH] Update README.md Corrected typos --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4d984759..154a075a 100644 --- a/README.md +++ b/README.md @@ -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` and define a method named `iterator` which makes use of the `personList` field to generate a new a `Iterator`.