Searched defs:getOrElse (Results 1 – 14 of 14) sorted by relevance
49 inline fun <T> LongSparseArray<T>.getOrElse(key: Long, defaultValue: () -> T) = in containsKey() method
49 inline fun <T> SparseArrayCompat<T>.getOrElse(key: Int, defaultValue: () -> T) = in containsKey() method
50 inline fun <T> SparseArray<T>.getOrElse(key: Int, defaultValue: () -> T) = in containsKey() method
60 inline fun <T> LongSparseArray<T>.getOrElse(key: Long, defaultValue: () -> T) = in containsKey() method
50 inline fun SparseBooleanArray.getOrElse(key: Int, defaultValue: () -> Boolean) = in containsKey() method
50 inline fun SparseIntArray.getOrElse(key: Int, defaultValue: () -> Int) = in containsKey() method
59 inline fun SparseLongArray.getOrElse(key: Int, defaultValue: () -> Long) = in containsKey() method
101 @Test fun getOrElse() { in <lambda>() method in androidx.collection.LongSparseArrayTest
91 @Test fun getOrElse() { in <lambda>() method in androidx.collection.SparseArrayCompatTest
100 @Test fun getOrElse() { in <lambda>() method in androidx.core.util.SparseIntArrayTest
100 @Test fun getOrElse() { in <lambda>() method in androidx.core.util.SparseBooleanArrayTest
92 @Test fun getOrElse() { in <lambda>() method in androidx.core.util.SparseArrayTest
104 @Test fun getOrElse() { in <lambda>() method in androidx.core.util.LongSparseArrayTest
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...