Add missing JavaDoc

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1536473 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2013-10-28 18:33:13 +00:00
parent bf4dabb998
commit 4a96a5dafe
1 changed files with 10 additions and 0 deletions

View File

@ -62,10 +62,20 @@ public int translate(final CharSequence input, final int index, final Writer out
return 0;
}
/**
* Checks if the given char is an octal digit. Octal digits are the character representations of the digits 0 to 7.
* @param ch the char to check
* @return true if the given char is the character representation of one of the digits from 0 to 7
*/
private boolean isOctalDigit(char ch) {
return ch >= '0' && ch <= '7';
}
/**
* Checks if the given char is the character representation of one of the digit from 0 to 3.
* @param ch the char to check
* @return true if the given char is the character representation of one of the digits from 0 to 3
*/
private boolean isZeroToThree(char ch) {
return ch >= '0' && ch <= '3';
}