Here you can find the source of toLowerCase(String str)
Parameter | Description |
---|---|
str | a parameter |
public static String toLowerCase(String str)
//package com.java2s; /*/*from ww w. ja v a 2 s . co m*/ Pulsar Copyright (C) 2013-2015 eBay Software Foundation Licensed under the GPL v2 license. See LICENSE for full terms. */ public class Main { /** * Non-localized version, be careful * * @param str * @return */ public static String toLowerCase(String str) { if (str != null) { return str.toLowerCase(); } return null; } /** * Non-localized version, be careful * * @param str * @return */ public static String[] toLowerCase(String[] strArray) { if (strArray != null) { String[] ret = new String[strArray.length]; for (int i = 0; i < strArray.length; i++) { ret[i] = toLowerCase(strArray[i]); } return ret; } return null; } }