Searched refs:getOrNull (Results 1 – 1 of 1) sorted by relevance
103 elements.getOrNull(pollForIndexReadLocked(timeoutMs, pos, predicate)) in <lambda>()107 fun getOrNull(pos: Int, predicate: (E) -> Boolean) = lock.withLock { in <lambda>() method232 return getOrNull(index) in newReadHead()242 fun peek(): E? = getOrNull(readHead).also { checkThread() } in newReadHead()