All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jvmMain.org.jetbrains.skia.Actuals.jvm.kt Maven / Gradle / Ivy

package org.jetbrains.skia

import java.util.*

actual fun  commonSynchronized(lock: Any, block: () -> R) {
    synchronized(lock, block)
}

actual fun String.intCodePoints(): IntArray = this.codePoints().toArray()

actual typealias Pattern = java.util.regex.Pattern

actual typealias Matcher = java.util.regex.Matcher

actual fun defaultLanguageTag(): String = Locale.getDefault().toLanguageTag()

actual fun compilePattern(regex: String): Pattern = Pattern.compile(regex)

actual typealias OutputStream = java.io.OutputStream




© 2015 - 2024 Weber Informatics LLC | Privacy Policy