Companion

object Companion

Properties

Link copied to clipboard
const val ALPHA: Int = 3
Link copied to clipboard
const val ALPHANUM: Int = 7
Link copied to clipboard
const val DIGIT: Int = 4
Link copied to clipboard
const val DONE: Int

Indicates the end of iteration

Link copied to clipboard
const val LOWER: Int = 1
Link copied to clipboard
const val SUBWORD_DELIM: Int = 8
Link copied to clipboard
const val UPPER: Int = 2

Functions

Link copied to clipboard
fun getType(ch: Int): Byte

Computes the type of the given character

Link copied to clipboard
fun isAlpha(type: Int): Boolean

Checks if the given word type includes ALPHA

Link copied to clipboard
fun isDigit(type: Int): Boolean

Checks if the given word type includes DIGIT

Link copied to clipboard

Checks if the given word type includes SUBWORD_DELIM

Link copied to clipboard
fun isUpper(type: Int): Boolean

Checks if the given word type includes UPPER