arrow-fx-coroutines / arrow.fx.coroutines.stream / Chunk / Singleton
class Singleton<O> :
Chunk
<O>
<init> | Singleton(value: O) |
value | val value: O |
copyToArray_ | fun copyToArray_(xs: Array < Any ?>, start: Int ): Unit |
get | Returns the element at the specified index. Throws if index is < 0 or >= size.operator fun get(i: Int ): O |
size | Returns the number of elements in this chunk.fun size(): Int |
splitAtChunk_ | Splits this chunk in to two chunks at the specified index n , which is guaranteed to be in-bounds.fun splitAtChunk_(n: Int ): Pair < Chunk <O>, Chunk <O>> |
Do you like Arrow?
✖