File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes  Collection program not working as expected Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark " Collection program not working as expected" Watch " Collection program not working as expected" New topic
Author

Collection program not working as expected

shuba gopal
Ranch Hand

Joined: May 12, 2011
Posts: 76
Hi the following program is from Deitel with minor modifications. The method removeColors is just as it is in the book. The colors BLUE,RED,GREEN are expected to be removed but they are still present after the method runs.




shuba gopal
Ranch Hand

Joined: May 12, 2011
Posts: 76
Hi I made some changes to the program and it worked. The SOP after removeColors() had to be modified. Thanks



I panicked because its Collection. Thanks

 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Collection program not working as expected
 
Similar Threads
Struts 2 checkboxlist error - list key could not be resolved
question on enum
problem with updating Panel!
AWT Event look for help
Enum Type inhteritance