Java Char Array to Char charAt(CharSequence chars, int index, boolean ignoreCase)

Here you can find the source of charAt(CharSequence chars, int index, boolean ignoreCase)

Description

char At

License

Open Source License

Declaration

private static final char charAt(CharSequence chars, int index, boolean ignoreCase) 

Method Source Code

//package com.java2s;

public class Main {
    private static final char charAt(String chars, int index, boolean ignoreCase) {
        return (ignoreCase ? Character.toLowerCase(chars.charAt(index)) : chars.charAt(index));
    }/*from  w  w  w  . j a v a 2 s. c  om*/

    private static final char charAt(CharSequence chars, int index, boolean ignoreCase) {
        return (ignoreCase ? Character.toLowerCase(chars.charAt(index)) : chars.charAt(index));
    }
}

Related

  1. charArrayToLowerCase(char[] arr)
  2. charAt(char[] s, int pos)
  3. charAt(CharSequence chars, int i)
  4. hasCharAt(char toLookFor, int position, char[] toSearch)