- peek() - Method in interface io.purush.java.immutable.collections.Seque
-
- peek() - Method in class io.purush.java.immutable.collections.Stack
-
- peekEnd() - Method in interface io.purush.java.immutable.collections.Deque
-
Show the end of this Deque
.
- peekHead() - Method in interface io.purush.java.immutable.collections.Deque
-
Show the head of this Deque
.
- piece(int, int) - Method in interface io.purush.java.immutable.collections.List
-
Piece out the list and return the piece between two indices.
- pop() - Method in interface io.purush.java.immutable.collections.Seque
-
Creates a fresh instance of Seque without the end element.
- pop() - Method in class io.purush.java.immutable.collections.Stack
-
- popEnd() - Method in interface io.purush.java.immutable.collections.Deque
-
Create a new Deque
without the end of the exisiting Deque
.
- popHead() - Method in interface io.purush.java.immutable.collections.Deque
-
Create a new Deque
without the head of the existing Deque
.
- push(E) - Method in interface io.purush.java.immutable.collections.Seque
-
Creates a fresh instance of the Seque with the element at the open end of the Seque
.
Ehis ensures immutability.
- push(E) - Method in class io.purush.java.immutable.collections.Stack
-
- pushEnd(E) - Method in interface io.purush.java.immutable.collections.Deque
-
Create a new Deque
with `e` as the end element.
- pushHead(E) - Method in interface io.purush.java.immutable.collections.Deque
-
Create a new Deque
with `e` as head element.