First, most of the character type constants (LOWERCASE_LETTER etc) don't
have javadoc comments. They should say (a) that they're values returned
by getType(), (b) what the constant means, in terms of Unicode 2.x (as
associated with the relevant version of the spec), (c) the two-letter
version of the name, used in as many specs as the long name (e.g. "Ll"
is the same as "LOWERCASE_LETTER".
Second, the doc for getType doesn't say that it returns standard
Unicode types, or indicate that the constants LOWERCASE_LETTER etc
are what get returned. (There's a recent @see, but the full coupling
isn't there...)
have javadoc comments. They should say (a) that they're values returned
by getType(), (b) what the constant means, in terms of Unicode 2.x (as
associated with the relevant version of the spec), (c) the two-letter
version of the name, used in as many specs as the long name (e.g. "Ll"
is the same as "LOWERCASE_LETTER".
Second, the doc for getType doesn't say that it returns standard
Unicode types, or indicate that the constants LOWERCASE_LETTER etc
are what get returned. (There's a recent @see, but the full coupling
isn't there...)