Fixed-size buffer implementation using ArrayDeque.
Provides FIFO queue semantics. This buffer is not thread-safe. Thread safety is provided by the channel implementation.
Fixed-size buffer implementation using ArrayDeque. Provides FIFO queue semantics. This buffer is not thread-safe. Thread safety is provided by the channel implementation.
(create capacity)Create a fixed-size buffer with the specified capacity.
Capacity is always at least 1. Items are queued in FIFO order.
Create a fixed-size buffer with the specified capacity. Capacity is always at least 1. Items are queued in FIFO order.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |