View Single Post
Old Dec 20th, 2006, 1:15 AM   #5
ReggaetonKing
Sexy Programmer
 
ReggaetonKing's Avatar
 
Join Date: Nov 2005
Location: New Jersey
Posts: 891
Rep Power: 3 ReggaetonKing is on a distinguished road
Send a message via AIM to ReggaetonKing
Dude, if you can't convert your pseudocode into Java statements then I suggest you read up on Java. All you have to do is create private list object within your NewList class and just remove according to the directions given.

Also, the p value never changes. Is p the first index of your list? Why do you keep track of the position when all you do is remove an object from the front of the list? This data structure of yours does not make sense and has no point because all you are doing in reinventing the wheel.
__________________
I would love to change the world, but they won't give me the source code!
ReggaetonKing is offline   Reply With Quote