Results 1 to 3 of 3
  1. #1
    Lund01's Avatar
    Lund01 is offline Senior Member
    Join Date
    Sep 2010
    Location
    The Netherlands
    Posts
    149
    Rep Power
    0

    Default How to match arrayList with a String?

    I have an arrayList, and I have a 2nd file where I look for a certain number.
    That number is already in a String.
    And I would like to know "How can I match if the arrayList contains the number?"

  2. #2
    eRaaaa is offline Senior Member
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    786
    Rep Power
    5

    Default

    with the method contains :confused: :)

  3. #3
    Lund01's Avatar
    Lund01 is offline Senior Member
    Join Date
    Sep 2010
    Location
    The Netherlands
    Posts
    149
    Rep Power
    0

Similar Threads

  1. String[] stored in ArrayList
    By JonJacobs in forum New To Java
    Replies: 2
    Last Post: 08-06-2010, 06:27 PM
  2. Replies: 0
    Last Post: 03-16-2010, 11:08 AM
  3. String match to the linkedlist element
    By jboy in forum New To Java
    Replies: 3
    Last Post: 09-06-2009, 07:02 AM
  4. Putting a string into ArrayList<String>
    By k4ff1n34dd1c7 in forum New To Java
    Replies: 5
    Last Post: 03-23-2009, 05:10 PM
  5. how to store an ArrayList<string> into cookies?
    By perplexingtrax in forum Java Servlet
    Replies: 7
    Last Post: 01-12-2009, 12:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •