Searched defs:getOrNull (Results 1 – 2 of 2) sorted by relevance
108 fun getOrNull(pos: Int, predicate: (E) -> Boolean) = lock.withLock { in <lambda>() method
199 private fun <T> Optional<T>.getOrNull(): T? = orElse(null) in getOrNull() method