arrow-fx / arrow.fx.internal / Platform / ArrayStack
class ~~ArrayStack~~<A>
Deprecated: The IO datatype and it’s related type classes will disappear in Arrow 0.13.0. All useful operations are offered directly over suspend functions by Arrow Fx Coroutines. https://arrow-kt.io/docs/fx/async/
<init> | ArrayStack() |
isEmpty | Returns true if the stack is empty.fun isEmpty(): Boolean |
isNotEmpty | fun isNotEmpty(): Boolean |
iteratorReversed | Builds an iterator out of this stack.fun iteratorReversed(): Iterator <A> |
pop | Pops an item from the stack (in LIFO order).fun pop(): A? |
push | Pushes an item on the stack.fun push(a: A): Unit |
pushAll | Pushes an entire iterator on the stack.fun pushAll(cursor: Iterator <A>): Unit Pushes an entire iterable on the stack. fun pushAll(seq: Iterable <A>): Unit Pushes the contents of another stack on this stack. fun pushAll(stack: ArrayStack<A>): Unit |
Do you like Arrow?
✖