Search:

Type: Posts; User: theaveguy

Search: Search took 1.34 seconds.

  1. Replies
    8
    Views
    401

    Re: Contain method to read array

    I kind of understand what you mean, but I do not know how to go about implementing a method like this.

    Method I am trying to use from API


    public boolean containsArray(CharSequence s)
    ...
  2. Replies
    8
    Views
    401

    Re: Contain method to read array

    I am looking for a method that works like "contains" but for arrays, so i want it to parse the array to see if any of the variables match with an if statement and if not return false.

    Is there no...
  3. Replies
    8
    Views
    401

    Re: Contain method to read array

    This is how the contains method is defined

    type boolean
    method contains(CharSequence s)
    description Returns true if and only if this string contains the specified sequence of char values.

    I...
  4. Replies
    3
    Views
    764

    Re: Contain method to read array

    Any help? I would really like to get my program going, I was searching the String API Docs and only saw things pertaining to char/string nothing about array/sting.
  5. Replies
    8
    Views
    401

    Re: Contain method to read array

    Any help? I would really like to get my program going, I was searching the String API Docs and only saw things pertaining to char/string nothing about array/sting.
  6. Replies
    3
    Views
    764

    Contain method to read array

    I am trying to find a method to read an array like this.



    String[] operators = {"+", "-"};
    if(operation.contains(operators))
    System.out.println("noob");
    else ...
  7. Replies
    8
    Views
    401

    Contain method to read array

    I am trying to find a method to read an array like this.



    String[] operators = {"+", "-"};
    if(operation.contains(operators))
    System.out.println("noob");
    else ...
Results 1 to 7 of 7