1
1
Fork 0

Merge pull request #37 from sofiiako/sofia/Power-Tools-Operator-Overloading-Exercise3-EDC-458

fix(Task description Operator Overloading #3): Changed description of r…
This commit is contained in:
Svetlana Isakova 2021-07-21 20:39:55 +02:00 committed by GitHub
commit 8ceb815a2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -9,11 +9,11 @@ operations for a `Repository` named `r`:
there are no `null` locations remaining, appends `rv` to the end of `list`.
- `r[n] = rv` Places `rv` into location `n` in `list`. Requires that `n` be
greater than zero and less than `list.size`. Requires that `list[n]` be
equal to or greater than zero and less than `list.size`. Requires that `list[n]` be
non-`null`.
- `r[n]` Retrieves the value `list[n]`. Requires that `n` be greater than zero
and less than `list.size`. Requires that `list[n]` be non-`null`.
- `r[n]` Retrieves the value `list[n]`. Requires that `n` be equal to or greater
than zero and less than `list.size`. Requires that `list[n]` be non-`null`.
Add a `toString()` that produces `list` separated by commas.