Search:

Type: Posts; User: Freaky Chris

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    11,264

    Re: contains vs. indexOf

    Told you contains was just an specialized implementation of indexOf. Making it better practice to infact use indexOf() :)

    Chris
  2. Replies
    5
    Views
    11,264

    Re: contains vs. indexOf

    Firstly welcome to Java Programming Forums

    As far as im aware .contains() is a newer method that is just a specialized case of indexOf()
Results 1 to 2 of 2