Discussion Board
Go to the previous messageGo to the following message
Current Forum: Homework 5 - Parts 1 and 2
Date: Mon Nov 5 2001 11:30 pm
Author: Chen, Richard <richardc@andrew.cmu.edu>
Subject: Re: part2: 1. typo 2. writeup error

Questions:
1. To further expand on my question#2 from the last post in this thread, how does having ObjectIterator.java lend any difference or advantage versus merely having a Vector and not having to write ObjectIterator.java? I ask probably because I fail to see the "Iterators" concept inside ObjectIterator.java. Note that www-2.cs.cmu.edu/afs/andrew/course/15/211/www/hw5/pub/doc/ObjectIterator.html does not offer me enough hints to answer this question by myself.
2. Why was the following left unimplemented:
/** Unimplemented.
*/
public void remove() {}
Was it because the remove() might not be needed, or was it purposeful to give the students work? I ask so that I can ascertain the degree of need by which I need to implement remove(), if I follow much of the given code which leads my algo to be similar to the TA's solution's algo.
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
part2: 1. typo 2. writeup error      Chen, Richard      Sun Nov 4 2001 9:01 pm       
Re: part2: 1. typo 2. writeup error      Chen, Richard      Mon Nov 5 2001 11:30 pm       
Re: part2: 1. typo 2. writeup er...      Bortz, Andrew S.      Tue Nov 6 2001 12:18 pm       
Re: part2: 1. typo 2. writeup...      Lee, Peter      Tue Nov 6 2001 1:07 pm       
Re: part2: 1. typo 2. writ...      Chen, Richard      Thu Nov 8 2001 8:43 pm       
Re: part2: 1. typo 2. w...      Lee, Peter      Thu Nov 8 2001 9:30 pm       

Back to previous screen