Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Page 1 of 2 12 LastLast
Results 1 to 25 of 26

Thread: Searching ArrayList For Specific Object

  1. #1
    Member
    Join Date
    Jan 2014
    Location
    Washington DC
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Searching ArrayList For Specific Object

    I would like to search an array list that contains contact objects (name, address, email, phone number) which will then display the contents of that object on a JPanel (resultPanel in program). I am having trouble with the method coding. I have a single JTextField (searchJT) that will be used to enter only one of the previously mentioned contact information. Using the getText method to retrieve the input data from the JTF, I would like the method to determine: 1. If searchJT is empty, ask the user to enter contact info. 2. Else, does the contact exist? - If no, contact does not exist error. Else, display contents of contact.

    My hope is to have the method use the input data (integer and/or text) to search the arraylist for a match. How can I accomplish this using the, stated above, general outline?


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Searching ArrayList For Specific Object

    What have you tried?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Member
    Join Date
    Jan 2014
    Location
    Washington DC
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Re: Searching ArrayList For Specific Object

    This is the method I've created under the class ContactArrayList:
    public void findContact(String contents){			
    			try{
    				if(contents.equals("")){
    					  JOptionPane.showMessageDialog(null, "Enter search criteria.");
    				}
    				else{
    					if(contents.equalsIgnoreCase(contents)){
     
    					}
    				}
    			}
    			catch(ListIndexOutOfRangeException ex){}
    		}

    I'm not sure which statement to use within the second if statement since the search JTF will contain a string and/or integers.

    Within the GUI class I've instantiated an object of the ContactArrayList as:
    ContactArrayList contact = new ContactArrayList();
     
    		String contents = searchJF.getText();
    		contact.findContact(contents);

    I am getting the following error when accessing the method: "Syntax error on token "contents", VariableDeclaratorId expected after this token"

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Searching ArrayList For Specific Object

    if(contents.equalsIgnoreCase(contents)){
    Strange comparison. When would that be false? What values did you really want to compare there?

    Before writing any more code, try making a list in pseudo code of the steps the program should take. The posted code doesn't show that there has been any thought about what it is going to do.

    BTW The code should NOT catch Index out of bounds exceptions. The only reason code gets those is when it is sloppily written.
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Member
    Join Date
    Jan 2014
    Location
    Washington DC
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Re: Searching ArrayList For Specific Object

    I think it is worth mentioning that the focus of this assignment is data structure and lists (CS 2 class).

    Strange comparison. When would that be false?
    Yes, of course, that makes absolutely no sense. My intention was to search the arraylist and find a match for the user. If a match was found, display the results in the JPanel.

    Is the .getText() the correct method to use for String contents? In this case, the arraylist contains x-number of "boxes" with each box holding the identity (name, address, phone, etc..) of a contact. The user enters 123 Lex Lane, how might I scan the arraylist to find a match? Will I need to scan for the integer first, and then match the string (vice versa)?

    The only reason code gets those is when it is sloppily written.
    I'm writing "sloppily written" code -- still polishing up my skills. haha But thank you for the tip.

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Searching ArrayList For Specific Object

    .getText() the correct method to use for String contents?
    Have you read the API doc for the String class?
    Do you mean some other class?

    how might I scan the arraylist
    Use a loop to look at each object in the list.

    You are worrying about coding details before you have a design for the program. Have you made a list of the steps the code needs to make to solve the problem. You need that before doing any coding.
    Make several passes on the design. Start by making a list of highlevel steps, then go back and expand the steps that need more detail.
    If you don't understand my answer, don't ignore it, ask a question.

  7. #7
    Member
    Join Date
    Jan 2014
    Location
    Washington DC
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Re: Searching ArrayList For Specific Object

    I've created a List<T> interface that is implemented by class ArrayList<T>, where the methods are defined in greater detail. I have a third class, Contact, which contains the getters/setters for each contact object. Now, when I go to create an object in main, List<Contact> contact = new ArrayList<Contact>(), I can't use any of the get/set methods from Contact. What am I missing here? Should I create Contact contact = new Contact() in main, in which case, where/how should I add the object to the ArrayList??

  8. #8
    Senior Member
    Join Date
    Jul 2013
    Location
    Europe
    Posts
    666
    Thanks
    0
    Thanked 121 Times in 105 Posts

    Default Re: Searching ArrayList For Specific Object

    Can you show us the code you are talking about? Its not that easy for me to follow your description.

  9. #9
    Member
    Join Date
    Jan 2014
    Location
    Washington DC
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Re: Searching ArrayList For Specific Object

    Quote Originally Posted by Cornix View Post
    Can you show us the code you are talking about? Its not that easy for me to follow your description.
    Gladly. I'd like to add that I am a little confused as to how I should code the program so that each contain can have 'x' number of emails, addresses, and phone numbers. Not sure I've coded for this correctly. Maybe someone can offer a little insight. Thanks.

    public class MainClass {
     
        public static void main(String[] args) throws ListIndexOutOfRangeException {
            Scanner input = new Scanner(System.in);
     
            AddressBookGUI frame = new AddressBookGUI();
     
            List<Contact> contact = new ArrayList<Contact>();

    public class ArrayList<T> implements List<T> {
        private int size, capacity;
        private T[] contacts;
     
        public ArrayList(){
     
            size = 0;
    		capacity = 10;
    		contacts = (T[]) new AddressBook[capacity];
        }
     
        public void add(T newMem) {
            if (size == capacity) {
    			expand();
    		}
    		contacts[size++] = newMem;	
        }
     
        public void expand(){
    		capacity *= 2;
    		T[] newArray = (T[]) new AddressBook[capacity];
     
    		for (int i = 0; i < size; i++)
    			newArray[i] = contacts[i];
    	}
     
        public void append(T Mem, T newMem) {
     
        }
     
        public void insert(T newMem, int pos) throws ListIndexOutOfRangeException {
            if ((pos < 0) || (pos > (size -1)))
    			throw new ListIndexOutOfRangeException ( );
     
    		else
    		{
    			if (capacity == size)
    				expand ( );
     
    			for (int i = size; i > pos; i--)
    				contacts[i] = contacts[i-1];
     
    			contacts[pos] = newMem;
    			size++;
     
    		}
        }
     
        public int indexOf (T key){
            int foundIndex = -1;
    		for (int i = 0; i < size; i++)
    		{
    			if (key.equals (contacts[i]))
    			{
    				foundIndex = i;
    				break;
    			}
    		}
     
    		return foundIndex;
        }
     
        public boolean remove(T key) {
            int foundIndex  = indexOf(key);
    		if (foundIndex < 0)
    		{
    			System.out.println ("key not found");
    			return false;
    		}
    		else
    		{
    			contacts[foundIndex] = contacts[size-1];
    			size--;
    			return true;
    		}
     
        }
     
        public void retrieve(T mem) {
     
        }
        public boolean replace (T existingMem, T newMem)
    	{
    		int foundIndex = indexOf(existingMem);
     
    		if (foundIndex < 0)
    		{
    			System.out.println ("no match");
    			return false;
    		}
    		else
    		{
                            try
                            {
                                write (foundIndex, newMem);
                            }
                            catch (ListIndexOutOfRangeException ex)
                            {
                            }
     
    			return true;
    		}
    	}
     
        public void write(int pos, T newMem) throws ListIndexOutOfRangeException {
            if ((pos < 0) || (pos > (size -1)))
    			throw new ListIndexOutOfRangeException ( );
    		else
    			contacts[pos]  = newMem;
        }
     
     
        public String toString() {
    		String outString = "";
    		for (int i = 0; i < size; i++)
    			outString += (contacts[i] + " ");
    		return outString;
        }
    }

    public class Contact {
     
        int size;
        private String name, group;
        private String[] phone, address, email;
     
        public Contact() {
        }
     
        public Contact(String name, String[] phone, String[] address,
                String[] email, String group) {
            this.name = name;
            this.phone = phone;
            this.address = address;
            this.email = email;
            this.group = group;
        }
     
        public void setName(String name) {
            this.name = name;      
        }
     
        public void setAddress(String[] address) {
            this.address = address;
        }
     
        public void setPhone(String[] phone) {
            this.phone = phone;
        }
     
        public void setEmail(String[] email) {
            this.email = email;
        }
     
        public void setGroup(String group){
            this.group = group;
        }
     
        public String getName(){
            return name;
        }
     
        public String[] getAddress(){
            return address;
        }
     
        public String[] getPhone(){
            return phone;
        }
    }
    Last edited by javaStooge; July 9th, 2014 at 07:06 AM.

  10. #10
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Searching ArrayList For Specific Object

    It's not a good idea to give your class the same name as a Java SE class. That will make for confusion.
    ArrayList is the name of a Java SE class. Choose a new name for your class.
    If you don't understand my answer, don't ignore it, ask a question.

  11. #11
    Member
    Join Date
    Jan 2014
    Location
    Washington DC
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Re: Searching ArrayList For Specific Object

    Quote Originally Posted by Norm View Post
    It's not a good idea to give your class the same name as a Java SE class. That will make for confusion.
    ArrayList is the name of a Java SE class. Choose a new name for your class.
    Originally I had the class named differently until I spoke with someone that said I should name it ArrayList.
    Last edited by javaStooge; July 9th, 2014 at 07:19 AM.

  12. #12
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Searching ArrayList For Specific Object

    I disagree. It will be confusing.
    If you don't understand my answer, don't ignore it, ask a question.

  13. #13
    Senior Member
    Join Date
    Jul 2013
    Location
    Europe
    Posts
    666
    Thanks
    0
    Thanked 121 Times in 105 Posts

    Default Re: Searching ArrayList For Specific Object

    Quote Originally Posted by javaStooge View Post
    I've created a List<T> interface that is implemented by class ArrayList<T>, where the methods are defined in greater detail. I have a third class, Contact, which contains the getters/setters for each contact object. Now, when I go to create an object in main, List<Contact> contact = new ArrayList<Contact>(), I can't use any of the get/set methods from Contact. What am I missing here? Should I create Contact contact = new Contact() in main, in which case, where/how should I add the object to the ArrayList??
    Can you, now that we see the code, explain again what you are trying to do and what kind of errors you are getting?
    Especially this:
    I can't use any of the get/set methods from Contact.
    is not clear to me. How exactly are you trying to access these methods?


    By the way: I totally agree with Norm. If you want anybody to understand your code you should give your classes other names then these of the standard classes.
    The ArrayList class is used very often, if you call your class ArrayList and you ask for help on any kind of forum, you will not get much help because everybody will be confused.

  14. #14
    Member
    Join Date
    Jan 2014
    Location
    Washington DC
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Re: Searching ArrayList For Specific Object

    "You are to design a Java application using the list data structure to manage your contact information. Each contact may have the following data:
    name
    addresses
    e-mails
    phones
    group
    Each contact may have multiple addresses, e-mails and phones, and may belong to a group.All the data must be input from and saved/updated in an XML file. You must design your own XML parser. Any imported/copied XML parser is not allowed. Generate an exception for any error." -from assignment details

    (1.) Contact class: I want to use this class to create the contact using get/set methods. Once the contact has been created, I would like to add it to an arraylist of type Contact.

    (2.) ArrayListC class (formerly named ArrayList): This class contains detailed methods to add/remove/insert..etc... contacts.

    Hopefully this makes more sense.

  15. #15
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Searching ArrayList For Specific Object

    (2.) ArrayListC class (formerly named ArrayList): This class contains detailed methods to add/remove/insert..etc... contacts.
    Does that say that the ArrayListC class is only to hold Contact objects? No other types like String or Integer?
    If you don't understand my answer, don't ignore it, ask a question.

  16. #16
    Member
    Join Date
    Jan 2014
    Location
    Washington DC
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Re: Searching ArrayList For Specific Object

    It can, as far as I can tell...it's a generic type. I was going to give it the type Contact (ArrayListC<Contact> contacts = new ArrayListC<>(); ). I've never used arraylist before and I'm trying to figure it out while implementing the List data structure without using java.util.List, thereby, creating our own List<T> interface.

    We can define the type of ArrayListC<T> by means of a class, object, or primitive...so, Contact seemed appropriate since it will be an ArrayList that holds contact and all their information.

  17. #17
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Searching ArrayList For Specific Object

    What is the difference between the Java SE ArrayList and your ArrayListC?

    What is the benefit of the new class?
    If you don't understand my answer, don't ignore it, ask a question.

  18. #18
    Senior Member
    Join Date
    Jul 2013
    Location
    Europe
    Posts
    666
    Thanks
    0
    Thanked 121 Times in 105 Posts

    Default Re: Searching ArrayList For Specific Object

    Quote Originally Posted by javaStooge View Post
    "You are to design a Java application using the list data structure to manage your contact information. Each contact may have the following data:
    name
    addresses
    e-mails
    phones
    group
    Each contact may have multiple addresses, e-mails and phones, and may belong to a group.All the data must be input from and saved/updated in an XML file. You must design your own XML parser. Any imported/copied XML parser is not allowed. Generate an exception for any error." -from assignment details

    (1.) Contact class: I want to use this class to create the contact using get/set methods. Once the contact has been created, I would like to add it to an arraylist of type Contact.

    (2.) ArrayListC class (formerly named ArrayList): This class contains detailed methods to add/remove/insert..etc... contacts.

    Hopefully this makes more sense.
    Not really, I would like to see the piece of code that generates the error.
    The code you posted earlier looks okay I guess, after all, you did not tell us that you were getting errors with that.

    If there is a piece of code that generates errors then show us that piece of code and tell us exactly what the error message says.

  19. #19
    Member
    Join Date
    Jan 2014
    Location
    Washington DC
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Re: Searching ArrayList For Specific Object

    Quote Originally Posted by Norm View Post
    What is the difference between the Java SE ArrayList and your ArrayListC?
    What is the benefit of the new class?
    Clearly I don't know what I'm doing because nobody understands what I'm trying to explain. The example give by our professor had a List interface:
    public interface List <T>
    {
    	//append
    	public void add (T newMem);
     
     
    	public void insert (int pos, T newMem) throws ListIndexOutOfRangeException;
     
    	//overwrite
    	public void write (int pos, T newMem) throws ListIndexOutOfRangeException;
     
    	public boolean remove (T key);
     
    	//linear sequential
    	public int indexOf (T key);
     
    	public boolean replace (T existingMem, T newMem);
     
    	public T getOne (int pos) throws ListIndexOutOfRangeException;
     
    	public String toString ( );
     
    }

    Then follows:

    public class ArrayListX <T> implements List <T>
    {
    	private  T [ ] members;
    	private int capacity;
    	private int size;
     
    	public ArrayListX ( )
    	{
    		capacity = 20;
    		size = 0;
    		members = (T [ ]) new Object [capacity];
    	}
     
    	//append
    	public void add (T newMem)
    	{
    		if (size == capacity)
    			expand ( );
     
    		members[size++] = newMem;
    	}
     
    	//double the capacity
    	public void expand ( )
    	{
    		capacity *= 2;
    		T [ ] temp = (T [ ]) new Object [capacity];
     
    		for (int i = 0; i < size; i++)
    			temp[i] = members[i];
     
    		members = temp;
    	}
     
    	public void insert (int pos, T newMem) throws ListIndexOutOfRangeException
    	{
    		if ((pos < 0) || (pos > (size -1)))
    			throw new ListIndexOutOfRangeException ( );
     
    		else
    		{
    			if (capacity == size)
    				expand ( );
     
    			for (int i = size; i > pos; i--)
    				members[i] = members[i-1];
     
    			members[pos] = newMem;
    			size++;
     
    		}
    	}
     
    	//overwrite
    	public void write (int pos, T newMem)throws ListIndexOutOfRangeException
    	{
     
    		if ((pos < 0) || (pos > (size -1)))
    			throw new ListIndexOutOfRangeException ( );
    		else
    			members[pos]  = newMem;
     
     
    	}
     
     
    	public boolean remove (T key)
    	{
    		int foundIndex  = indexOf (key);
    		if (foundIndex < 0)
    		{
    			System.out.println ("key not found");
    			return false;
    		}
    		else
    		{
    			//take the last mem to fill the vacated space
    			members[foundIndex] = members[size-1];
    			size--;
    			return true;
    		}
    	}
     
    	//linear sequential
    	public int indexOf (T key)
    	{
    		int foundIndex = -1;
    		for (int i = 0; i < size; i++)
    		{
    			if (key.equals (members[i]))
    			{
    				foundIndex = i;
    				break;
    			}
    		}
     
    		return foundIndex;
    	}
     
     
    	public boolean replace (T existingMem, T newMem)
    	{
    		int foundIndex = indexOf (existingMem);
     
    		if (foundIndex < 0)
    		{
    			System.out.println ("no match");
    			return false;
    		}
    		else
    		{
                            try
                            {
                                write (foundIndex, newMem);
                            }
                            catch (ListIndexOutOfRangeException ex)
                            {
                            }
     
    			return true;
    		}
     
    	}
     
     
    	public String toString ( )
    	{
    		String outString = "";
    		for (int i = 0; i < size; i++)
    			outString += members[i];
    		return outString;
    	}
     
     
    	public T getOne (int pos)throws ListIndexOutOfRangeException
    	{
    		if ((pos < 0) || (pos >= size))
    			throw new ListIndexOutOfRangeException ( );
    		else
    			return members[pos];
    	}
    }

    This is example from the professor...

    --- Update ---

    Quote Originally Posted by Cornix View Post
    Not really, I would like to see the piece of code that generates the error.
    The code you posted earlier looks okay I guess, after all, you did not tell us that you were getting errors with that.

    If there is a piece of code that generates errors then show us that piece of code and tell us exactly what the error message says.
    Since I'm not getting my point across clearly, let me ask you, if this code does not look wrong...what do you believe is its purpose?
    List<Contact> contact = new ArrayListC<Contact>();

  20. #20
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Searching ArrayList For Specific Object

    I wonder why the professor used the name of a Java SE interface for the name of his interface.

    Is the exercise: to write your own versions of list and arraylist?

    if this code does not look wrong.
    No, it does not look wrong. It looks like how it would be coded using Java SE classes.
    If you don't understand my answer, don't ignore it, ask a question.

  21. #21
    Member
    Join Date
    Jan 2014
    Location
    Washington DC
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Re: Searching ArrayList For Specific Object

    Quote Originally Posted by Norm View Post
    Is the exercise: to write your own versions of list and arraylist?
    Yes. We are not supposed to use either imports. So, should "ArrayListX" be renamed, for example, AddressBook?

  22. #22
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Searching ArrayList For Specific Object

    The name would follow from what its purpose is. If it can only hold Contact objects, then that might be a good name. But the posted code uses Generics which means it can hold any type of object, not just Contacts.
    If you don't understand my answer, don't ignore it, ask a question.

  23. #23
    Member
    Join Date
    Jan 2014
    Location
    Washington DC
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Re: Searching ArrayList For Specific Object

    I have a JPanel called addPanel, which is where new contact can be added to list. Given that each contact can have multiple emails, phone numbers, and addresses...how can I allow the user to enter multiple entries into a jtextfield and pass them to the array?
    I was going to try and use a set method but I don't think that's going to work.
    Last edited by javaStooge; July 9th, 2014 at 01:32 PM.

  24. #24
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Searching ArrayList For Specific Object

    enter multiple entries into a jtextfield and pass them to the array?
    How are the entries in the JTestfield separated? Is each on a new line?
    If so, get the text from the textfield into a String and use the split() method with the newline character.
    split() creates an array.
    If you don't understand my answer, don't ignore it, ask a question.

  25. #25
    Member
    Join Date
    Jan 2014
    Location
    Washington DC
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Re: Searching ArrayList For Specific Object

    Fantastic. Thank you Norm.

    I created the splits, but when I run the program I can't get the gui to load. There are no errors in the code, but GUI won't load to test. I instantiated a person object from Contact and proceeded to use the set methods below. I get this error: "Exception in thread "main" java.lang.NullPointerException
    at Contact.<init>(Contact.java:7)
    at MainClass.main(MainClass.java:10)"

    Contact:7 is String[] addresses = address.split(delimiter);


    public class Contact {
     
        int size;
        private String name, group, address, phone, email;
     
        String delimiter = ",";
        String[] addresses = address.split(delimiter); 
        String[] phones = phone.split(delimiter);
        String[] emails = email.split(delimiter);

    public void setAddress(String address){
                address.split(delimiter);
            }

Page 1 of 2 12 LastLast

Similar Threads

  1. Searching ArrayList<Objects> for a name?
    By javacloud in forum Loops & Control Statements
    Replies: 5
    Last Post: October 23rd, 2013, 09:43 AM
  2. Searching for object variables inside a 1-D array?
    By Scorks in forum Collections and Generics
    Replies: 2
    Last Post: September 6th, 2013, 11:36 PM
  3. Searching a binary tree for specific char
    By Kristenw17 in forum Object Oriented Programming
    Replies: 0
    Last Post: June 7th, 2013, 09:53 PM
  4. Searching and printing string results from an Arraylist. Having difficulty.
    By Espressoul in forum Loops & Control Statements
    Replies: 1
    Last Post: February 25th, 2010, 08:32 PM
  5. Arraylist or Arraylist Object?
    By igniteflow in forum Collections and Generics
    Replies: 2
    Last Post: September 11th, 2009, 02:08 AM