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:
commit
8ceb815a2e
|
@ -9,11 +9,11 @@ operations for a `Repository` named `r`:
|
||||||
there are no `null` locations remaining, appends `rv` to the end of `list`.
|
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
|
- `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`.
|
non-`null`.
|
||||||
|
|
||||||
- `r[n]` Retrieves the value `list[n]`. Requires that `n` be greater than zero
|
- `r[n]` Retrieves the value `list[n]`. Requires that `n` be equal to or greater
|
||||||
and less than `list.size`. Requires that `list[n]` be non-`null`.
|
than zero and less than `list.size`. Requires that `list[n]` be non-`null`.
|
||||||
|
|
||||||
Add a `toString()` that produces `list` separated by commas.
|
Add a `toString()` that produces `list` separated by commas.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue