Skip navigation links
A C D G I L M P R S T U _ 

A

add(E) - Method in interface io.purush.java.immutable.collections.List
Add an element to this List and return a fresh list containing it.

C

Collection<E> - Interface in io.purush.java.immutable.collections
Grandparent of all collections.

D

Deque<E> - Interface in io.purush.java.immutable.collections
A doubly-ended queue.

G

get(int) - Method in interface io.purush.java.immutable.collections.List
Return the element at index given.

I

io.purush.java.immutable.collections - package io.purush.java.immutable.collections
 

L

List<E> - Interface in io.purush.java.immutable.collections
A simplistic abstraction of immutable Lists.

M

merge(List<E>, List<E>) - Method in interface io.purush.java.immutable.collections.List
Merge two lists into one.

P

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.

R

remove(E) - Method in interface io.purush.java.immutable.collections.List
Creates a fresh List without the first occurrence of e.

S

Seque<E> - Interface in io.purush.java.immutable.collections
A singly-ended queue.
Shufflable<E> - Interface in io.purush.java.immutable.collections
 
shuffle() - Method in interface io.purush.java.immutable.collections.Shufflable
 
size() - Method in interface io.purush.java.immutable.collections.Collection
Bookkeeping: Size of the collection.
size() - Method in class io.purush.java.immutable.collections.Stack
 
sort() - Method in interface io.purush.java.immutable.collections.Sortable
 
Sortable<E> - Interface in io.purush.java.immutable.collections
 
splitAt(int) - Method in interface io.purush.java.immutable.collections.List
Splits the list at an index x into two pieces.
Stack<E> - Class in io.purush.java.immutable.collections
A Stack implementation of a Seque.
Stack() - Constructor for class io.purush.java.immutable.collections.Stack
Returns an Empty Stack.
Stack(E) - Constructor for class io.purush.java.immutable.collections.Stack
Returns a new Stack with one element inserted.
Stack(E, Stack<E>) - Constructor for class io.purush.java.immutable.collections.Stack
Returns a new Stack with the top and bottom supplied to it.

T

Tuple2<X,Y> - Class in io.purush.java.immutable.collections
A simple enough implementation of a two Tuple.
Tuple2(X, Y) - Constructor for class io.purush.java.immutable.collections.Tuple2
Construct a simple enough two tuple.

U

update(int, E) - Method in interface io.purush.java.immutable.collections.List
Update element at an index to this List and return a fresh list containing it.

_

_1() - Method in class io.purush.java.immutable.collections.Tuple2
 
_2() - Method in class io.purush.java.immutable.collections.Tuple2
 
A C D G I L M P R S T U _ 
Skip navigation links

Copyright © 2017. All rights reserved.