Results 1 to 3 of 3
- 12-10-2010, 11:18 AM #1
Member
- Join Date
- Dec 2010
- Posts
- 1
- Rep Power
- 0
Need Help in Removing Objects from list
Hi All,I am new to coding and i am facing difficulty in solving the following issue..
I have a list which has 10 objects (3 objects with id 1,3 objects with id 2,4 object with id3)I need to remove/copy all the objects of a particular id to new Arraylist (in my case i need 3 lists with each list having objects of a particular id) .Can any one help me out with this one.Thanks in advance.....Last edited by pramod_r20; 12-10-2010 at 11:19 AM. Reason: missed some details
- 12-10-2010, 11:38 AM #2
Lets see what you've tried first. Do you know how to write a loop that iterates over the list? Do you know how to use an Iterator?
db
- 12-10-2010, 12:19 PM #3
Similar Threads
-
adding or removing an object from an array of objects
By javanew in forum New To JavaReplies: 1Last Post: 05-04-2010, 11:00 AM -
need help with removing repetitions from linked list...
By OptimusPrime in forum New To JavaReplies: 8Last Post: 03-09-2010, 08:29 PM -
List of objects
By rekha in forum New To JavaReplies: 6Last Post: 03-20-2009, 11:39 AM -
Getting objects from a list
By markyoung1984 in forum New To JavaReplies: 4Last Post: 03-13-2008, 10:45 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks