Modifier and Type | Class and Description |
---|---|
class |
ConsPStack<E>
A simple persistent stack of non-null values.
|
Modifier and Type | Method and Description |
---|---|
PStack<E> |
PStack.minus(int i) |
PStack<E> |
PStack.minus(Object e) |
PStack<E> |
PStack.minusAll(Collection<?> list) |
PStack<E> |
PStack.plus(E e)
Returns a stack consisting of the elements of this with e prepended.
|
PStack<E> |
PStack.plus(int i,
E e) |
PStack<E> |
PStack.plusAll(Collection<? extends E> list)
Returns a stack consisting of the elements of this with list prepended in reverse.
|
PStack<E> |
PStack.plusAll(int i,
Collection<? extends E> list) |
static <E> PStack<E> |
Empty.stack() |
PStack<E> |
PStack.subList(int start) |
PStack<E> |
PStack.subList(int start,
int end) |
PStack<E> |
PStack.with(int i,
E e) |
Copyright © 2019. All rights reserved.