Alberto
06/16/2021, 11:12 PMQueue
in Kotlin Multiplatform?ephemient
06/16/2021, 11:17 PMAlberto
06/16/2021, 11:33 PMilya.gorbunov
06/16/2021, 11:51 PMephemient
06/17/2021, 2:09 AMephemient
06/17/2021, 2:10 AMCLOVIS
06/17/2021, 11:52 AMilya.gorbunov
06/17/2021, 12:20 PMQueue.offer
method docs only mention the behavior regarding capacity-restricted queues. For unbounded queues offer
should be equivalent to add
.
And for poll
there's a direct equivalent in `ArrayDeque`: removeFirstOrNull