It's UWAweek 20 (1st semester, week 11)

help2005

This forum is provided to promote discussion amongst students enrolled in CITS2005 Object Oriented Programming.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
4 articles posted by this person
Showing 4 of 159 articles.
Currently 3 other people reading this forum.


 UWA week 20 (1st semester, week 11) ↓
SVG not supported 5:32pm Thu 16th May, Jacob R.

Erm... Well the constructor shouldn't consume any part of the iterator. And hasNext() also shouldn't consume, so I assume there's an issue somewhere in there.


SVG not supported 4:23pm Thu 16th May, Jacob R.

I find it quite likely that you're overcomplicating it or trying to consume the whole iterator into a stack or something like that, when the iterator should largely be completely passive and only make method calls to the double ended iterator as and ...


SVG not supported 4:21pm Thu 16th May, Jacob R.

It's a reversed double ended iterator. If you're calling next, it should be consuming from the end of the double ended iterator passed in the constructor, if you're calling reverseNext, it should be consuming from the start of the double ended iterat...


 UWA week 17 (1st semester, week 8) ↓
SVG not supported 10:32am Wed 24th Apr, Jacob R.

While this has been asked indirectly previously, is the constructor for the Empty class strictly necessary, as it's redundant due to the implicit constructor already allocating required memory and no variables needing to be initialised with specific ...

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy