Haram Kwon
06/04/2023, 5:35 AMAdam S
06/04/2023, 8:24 AMaddLast() https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-array-deque/add-last.html - does that do what you need?Haram Kwon
06/04/2023, 5:01 PMHaram Kwon
06/04/2023, 5:02 PMAdam S
06/04/2023, 5:06 PMaddLast() and offerLast() even in the Java version of ArrayDequeAdam S
06/04/2023, 5:06 PMremoveLast() is equivalent to removeLast(), while pollLast() would be equivalent to removeLastOrNull()Haram Kwon
06/04/2023, 5:07 PMHaram Kwon
06/04/2023, 5:08 PMAdam S
06/04/2023, 5:08 PMAdam S
06/04/2023, 5:08 PMHaram Kwon
06/04/2023, 5:09 PMAdam S
06/04/2023, 5:09 PM