wood burning stoves 2.0*
The moose likes Cattle Drive and the fly likes OOP-3 SortNames wording Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "OOP-3 SortNames wording" Watch "OOP-3 SortNames wording" New topic
Author

OOP-3 SortNames wording

Terence Doyle
Ranch Hand

Joined: May 30, 2001
Posts: 328
Hi,
Pauline has asked me to create a thread about OOP-3 and the wording (which I misunderstood).
Here's the part of the assignment text that confused me:

The reason I was thrown off course was that I considered the ArrayList to be completely unmodifiable according to the instructions and the Collections methods do affect the internal order of the ArrayList.
So you can imagine my dilema. In my first attempt I made a copy of the ArrayList and worked on that. Apart from that, the overall design was on track.
NITPICK: " For this assignment I want you to use the ArrayList without making copies of it.
So then I moved on to even wilder possibilities, all the while convinced the ArrayList couldn't be touched, culminating in attempt 3 which prints out the names in order without re-ordering the arraylist AND using a method from the Collections class! (I'm proud of that one and I'd love to post it but I don't want to give anything away.)
When that bounced back I realised I was not only up the creek without a paddle but I was in the wrong creek!! So I e-mailed Marilyn to clear up some doubts after which I passed on attempt 4
The wording of the assignments is generally excellent but I got lost on this one. I was wondering if the same happened to anyone else?
Bye,
Terry
[This message has been edited by Marilyn deQueiroz (edited December 18, 2001).]


Raising Flares debut album 'Ignition' out now

http://www.raisingflares.com

Terry Doyle <br />SCPJ 1.4 , SCWCD , SCMAD(Beta)
Michael Matola
whippersnapper
Ranch Hand

Joined: Mar 25, 2001
Posts: 1746
    
    2
Here's a thread on the same topic. There's a post by JdJ referencing a similar such conversation.
I remembered this conversation and found it by searching on "SortNames wording".
[ January 20, 2003: Message edited by: Marilyn de Queiroz ]
Pauline McNamara
Sheriff

Joined: Jan 19, 2001
Posts: 4012
    
    6
Thanks for the link (and the search) Mike.
Those threads include a couple suggestions for rewording the assignment. Would those have helped you Terry? Any other suggestions?
I had seen those threads before really going at SortNames, so I don't even know if I would have been thrown off by the wording. The search feature can be a real time saver (and headache preventer).
Pauline
Terence Doyle
Ranch Hand

Joined: May 30, 2001
Posts: 328
Hi,
Well I must admit I've never used a search for any of the assignments. I might just start now.
Bye,
Terry
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: OOP-3 SortNames wording