Modifier and Type | Class and Description |
---|---|
class |
Stack<E>
A Stack implementation of a Seque.
|
Modifier and Type | Method and Description |
---|---|
Seque<E> |
Stack.pop() |
Seque<E> |
Seque.pop()
Creates a fresh instance of Seque without the end element.
|
Seque<E> |
Stack.push(E e) |
Seque<E> |
Seque.push(E e)
Creates a fresh instance of the Seque with the element at the open end of the
Seque .Ehis ensures immutability. |
Copyright © 2017. All rights reserved.