Files
kotlin-fork/idea/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/binarySearch2.kt.after
T
2019-07-10 14:09:35 +03:00

10 lines
187 B
Plaintext
Vendored

// WITH_RUNTIME
import java.util.Arrays
fun test() {
val array = arrayOf(1, 2, 3)
val key = 3
val from = 1
val to = 4
val result = array.binarySearch(key, from, to)
}