Java String Starts Wtih startsWithLowerCase(String text)

Here you can find the source of startsWithLowerCase(String text)

Description

starts With Lower Case

License

Open Source License

Declaration

public static boolean startsWithLowerCase(String text) 

Method Source Code

//package com.java2s;
/*******************************************************************************
 * Copyright (c) 2005, 2015 Zend Technologies and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * //from   ww w .j a v  a 2s .c om
 * Contributors:
 *     Zend Technologies - initial API and implementation
 *******************************************************************************/

public class Main {
    public static boolean startsWithLowerCase(String text) {
        if (text == null || text.length() == 0 || !Character.isLowerCase(text.charAt(0))) {
            return false;
        }
        return true;
    }
}

Related

  1. startsWithIndex(String[] prefixes, String fullPath)
  2. startsWithLenient(final String s, final String[] matches, final int[] minChars, final boolean acceptTrailing)
  3. startsWithLetter(String str)
  4. startsWithLetterOrUnderscore(String value)
  5. startsWithLinuxRoot(String path)
  6. startsWithLowerCaseChar(String s)
  7. startsWithMultiple(String string, String... starts)
  8. startsWithName(String subject, String beginName)
  9. startsWithNoCase(String csValue, String csStart)