mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
方法说明错误,"字符"应该改为"字母"
方法说明错误,"字符"应该改为"字母"
This commit is contained in:
parent
98af280dad
commit
85142b47b8
@ -187,7 +187,7 @@ public class CharUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 是否为字符或数字,包括A~Z、a~z、0~9
|
* 是否为字母或数字,包括A~Z、a~z、0~9
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* CharUtil.isLetterOrNumber('a') = true
|
* CharUtil.isLetterOrNumber('a') = true
|
||||||
@ -199,7 +199,7 @@ public class CharUtil {
|
|||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @param ch 被检查的字符
|
* @param ch 被检查的字符
|
||||||
* @return true表示为字符或数字,包括A~Z、a~z、0~9
|
* @return true表示为字母或数字,包括A~Z、a~z、0~9
|
||||||
*/
|
*/
|
||||||
public static boolean isLetterOrNumber(final char ch) {
|
public static boolean isLetterOrNumber(final char ch) {
|
||||||
return isLetter(ch) || isNumber(ch);
|
return isLetter(ch) || isNumber(ch);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user