enum class CharCategory
Platform and version requirements: JVM
Represents the character general category in the Unicode specification.
General category "Cn" in the Unicode specification. | |
General category "Lu" in the Unicode specification. | |
General category "Ll" in the Unicode specification. | |
General category "Lt" in the Unicode specification. | |
General category "Lm" in the Unicode specification. | |
General category "Lo" in the Unicode specification. | |
General category "Mn" in the Unicode specification. | |
General category "Me" in the Unicode specification. | |
General category "Mc" in the Unicode specification. | |
General category "Nd" in the Unicode specification. | |
General category "Nl" in the Unicode specification. | |
General category "No" in the Unicode specification. | |
General category "Zs" in the Unicode specification. | |
General category "Zl" in the Unicode specification. | |
General category "Zp" in the Unicode specification. | |
General category "Cc" in the Unicode specification. | |
General category "Cf" in the Unicode specification. | |
General category "Co" in the Unicode specification. | |
General category "Cs" in the Unicode specification. | |
General category "Pd" in the Unicode specification. | |
General category "Ps" in the Unicode specification. | |
General category "Pe" in the Unicode specification. | |
General category "Pc" in the Unicode specification. | |
General category "Po" in the Unicode specification. | |
General category "Sm" in the Unicode specification. | |
General category "Sc" in the Unicode specification. | |
General category "Sk" in the Unicode specification. | |
General category "So" in the Unicode specification. | |
General category "Pi" in the Unicode specification. | |
General category "Pf" in the Unicode specification. |
val code: String | |
val value: Int |
val name: String Returns the name of this enum constant, exactly as declared in its enum declaration. | |
val ordinal: Int Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero). |
operator fun contains(char: Char): Boolean Returns |
fun clone(): Any Throws an exception since enum constants cannot be cloned. This method prevents enum classes from inheriting from Cloneable. | |
fun equals(other: Any?): Boolean Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements: | |
fun hashCode(): Int Returns a hash code value for the object. The general contract of hashCode is: | |
open fun toString(): String Returns a string representation of the object. |
fun valueOf(category: Int): CharCategory |
© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-char-category/