W3cubDocs

/Kotlin

Package kotlin.experimental

Experimental APIs, subject to change in future versions of Kotlin.

Annotations

Platform and version requirements: JVM (1.3), JS (1.3), Native (1.3)

ExperimentalTypeInference

The experimental marker for type inference augmenting annotations.

annotation class ExperimentalTypeInference

Functions

Platform and version requirements: JVM (1.1), JS (1.1), Native (1.1)

and

Performs a bitwise AND operation between the two values.

infix fun Byte.and(other: Byte): Byte
infix fun Short.and(other: Short): Short
Platform and version requirements: JVM (1.1), JS (1.1), Native (1.1)

inv

Inverts the bits in this value.

fun Byte.inv(): Byte
fun Short.inv(): Short
Platform and version requirements: JVM (1.1), JS (1.1), Native (1.1)

or

Performs a bitwise OR operation between the two values.

infix fun Byte.or(other: Byte): Byte
infix fun Short.or(other: Short): Short
Platform and version requirements: JVM (1.1), JS (1.1), Native (1.1)

xor

Performs a bitwise XOR operation between the two values.

infix fun Byte.xor(other: Byte): Byte
infix fun Short.xor(other: Short): Short

© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.experimental/index.html