valueOf

fun valueOf(category: Int): CharCategory(source)

Returns the CharCategory corresponding to the specified category that represents a Java general category constant.

Since Kotlin

1.0

Throws

if the category does not represent a Java general category constant.