-
Notifications
You must be signed in to change notification settings - Fork 165
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
(#1254) Implements ListIteratorJoined #1548
(#1254) Implements ListIteratorJoined #1548
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@baudoliver7 on top of the comment, I propose to have all the mutable operations (I think remove, set and add) throw UnssuportedOperationException and add a todo to think about a smart solution to implement them. Because for now I'm not comfortable with the proposed implementation, it seems fragile to rely on emptyListIterator like this... The todo should clearly state that the javadoc of those operations should be well respected and also that the behaviour of adding/setting/removing an element when the cursor is in between two listiterators be well documented in this class (because there are multiple options in that case, no?).
Alternatively, we keep them, use hasPrevious
/hasNext
instead of checking the empty list iterator and add a todo to clarify doc and ensure the implementation is correct as explained above.
@baudoliver7 hi, how is it going for this PR? :) |
@victornoel Please, let's me add some changes and send you them today :)
Le sam. 6 mars 2021 à 5:40 PM, Victor Noël <[email protected]> a
écrit :
… @baudoliver7 <https://github.com/baudoliver7> hi, how is it going for
this PR? :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1548 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3TPNWD6F7VFFWEWCLVQIDTCJSIJANCNFSM4YILVFTA>
.
|
@baudoliver7 no rush, I mostly wanted to be sure it wasn't forgotten :) |
3d2fa40
to
5356174
Compare
@victornoel Please, could you have a look at my new changes ? |
@baudoliver7 thx |
@rultor merge |
@victornoel OK, I'll try to merge now. You can check the progress of the merge here |
@victornoel Done! FYI, the full log is here (took me 9min) |
@sereshqua/z please review this job completed by @andreoss/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed |
@0crat quality bad |
Quality is low, no payment, see §31 |
For #1254
JoinedListIterator
JoinedListIterator