Java Char Lower Case toLowerCase(char[] chars)

Here you can find the source of toLowerCase(char[] chars)

Description

Convert a string to lower case.

License

Mozilla Public License

Declaration

public static void toLowerCase(char[] chars) 

Method Source Code

//package com.java2s;
/*****************************************************************************************
 * *** BEGIN LICENSE BLOCK *****//  w w  w  .  j av  a2s  .  c  om
 *
 * Version: MPL 2.0
 *
 * echocat Jomon, Copyright (c) 2012-2013 echocat
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * *** END LICENSE BLOCK *****
 ****************************************************************************************/

public class Main {
    /**
     * Convert a string to lower case. (Faster than String.toLowerCase)
     */
    public static void toLowerCase(char[] chars) {
        for (int a = 0; a < chars.length; a++) {
            chars[a] = Character.toLowerCase(chars[a]);
        }
    }
}

Related

  1. toLowerCase(char c)
  2. toLowerCase(char c)
  3. toLowerCase(char c)
  4. toLowerCase(char ch)
  5. toLowerCase(char ch)
  6. toLowerCase(char[] cs)
  7. toLowerCase(char[] input)
  8. toLowerCase(char[] word, char[] buffer)
  9. toLowerCase(CharSequence chars)