All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.shoothzj.javatool.util.CharUtil Maven / Gradle / Ivy

There is a newer version: 3.1.15
Show newest version
package com.github.shoothzj.javatool.util;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author hezhangjian
 */
public class CharUtil {

    private static final Logger log = LoggerFactory.getLogger(CharUtil.class);

    private static boolean isDigit(char ch) {
        return ch >= '0' && ch <= '9';
    }

    private static boolean isUpper(char ch) {
        return ch >= 'A' && ch <= 'Z';
    }

    public static boolean isDown(char ch) {
        return ch >= 'a' && ch <= 'z';
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy