Java examples for java.lang:char
Indicates if the given character is lower case (a-z).
//package com.java2s; public class Main { /**/*from ww w . j a v a 2s . c o m*/ * Indicates if the given character is lower case (a-z). * * @param character * The character to test. * @return True if the given character is lower case (a-z). */ public static boolean isLowerCase(int character) { return (character >= 'a') && (character <= 'z'); } }