Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
data class ColorJNI(val r: Byte, val g: Byte, val b: Byte, val a: Byte)
Link copied to clipboard
sealed interface ColorRequest
Link copied to clipboard
data class KeyedTranslationRequest(var key: String, var count: Int? = null, var args: ArrayList<Any> = ArrayList()) : TranslationRequest
Link copied to clipboard
data class RawTranslationRequest(var raw: String, var args: ArrayList<Any> = ArrayList()) : TranslationRequest
Link copied to clipboard
data class RectJNI(val x: Int, val y: Int, val width: Int, val height: Int)
Link copied to clipboard
sealed interface TranslationRequest
Link copied to clipboard

Micro-optimization: A cache for TranslationRequest objects, keyed by either a key or raw text. This cache is thread-local, meaning each thread has its own instance of the cache.