kotlin.experimental

Package kotlin.experimental

Platform and version requirements: Kotlin 1-1

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

Functions

and

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

Performs a bitwise AND operation between the two values.

inv

fun Byte.inv(): Byte
fun Short.inv(): Short

Inverts the bits in this value.

or

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

Performs a bitwise OR operation between the two values.

xor

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

Performs a bitwise XOR operation between the two values.

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部