Index

A B C E F G H I K L M O P R S T V 
All Classes and Interfaces|All Packages

A

add(int, E) - Method in interface org.odenix.collections.PersistentList
Returns a new persistent list with the specified element inserted at the specified index.
add(E) - Method in interface org.odenix.collections.PersistentCollection
Returns the result of adding the specified element to this collection.
add(E) - Method in interface org.odenix.collections.PersistentList
Returns a new persistent list with the specified element appended.
add(E) - Method in interface org.odenix.collections.PersistentSet
Returns the result of adding the specified element to this set.
addAll(int, Collection) - Method in interface org.odenix.collections.PersistentList
Returns the result of inserting the specified c collection at the specified index.
addAll(E[]) - Method in interface org.odenix.collections.PersistentCollection
Returns the result of adding all elements of the specified elements array to this collection.
addAll(E[]) - Method in interface org.odenix.collections.PersistentList
Returns the result of appending all elements of the specified elements array to this list.
addAll(E[]) - Method in interface org.odenix.collections.PersistentSet
Returns the result of adding all elements of the specified elements array to this set.
addAll(Iterable) - Method in interface org.odenix.collections.PersistentCollection
Returns the result of adding all elements of the specified elements collection to this collection.
addAll(Iterable) - Method in interface org.odenix.collections.PersistentList
Returns the result of appending all elements of the specified elements collection to this list.
addAll(Iterable) - Method in interface org.odenix.collections.PersistentSet
Returns the result of adding all elements of the specified elements collection to this set.
addAll(Collection) - Method in interface org.odenix.collections.PersistentCollection
Returns the result of adding all elements of the specified elements collection to this collection.
addAll(Collection) - Method in interface org.odenix.collections.PersistentList
Returns the result of appending all elements of the specified elements collection to this list.
addAll(Collection) - Method in interface org.odenix.collections.PersistentSet
Returns the result of adding all elements of the specified elements collection to this set.
addAll(Stream) - Method in interface org.odenix.collections.PersistentCollection
Returns the result of adding all elements of the specified elements sequence to this collection.
addAll(Stream) - Method in interface org.odenix.collections.PersistentList
Returns the result of appending all elements of the specified elements sequence to this list.
addAll(Stream) - Method in interface org.odenix.collections.PersistentSet
Returns the result of adding all elements of the specified elements sequence to this set.

B

build() - Method in interface org.odenix.collections.PersistentCollection.Builder
Returns a persistent collection with the same contents as this builder.
build() - Method in interface org.odenix.collections.PersistentList.Builder
 
build() - Method in interface org.odenix.collections.PersistentMap.Builder
Returns a persistent map with the same contents as this builder.
build() - Method in interface org.odenix.collections.PersistentSet.Builder
 
builder() - Method in interface org.odenix.collections.PersistentCollection
Returns a new builder with the same contents as this collection.
builder() - Method in interface org.odenix.collections.PersistentList
 
builder() - Method in interface org.odenix.collections.PersistentMap
Returns a new builder with the same contents as this map.
builder() - Method in interface org.odenix.collections.PersistentSet
 

C

clear() - Method in interface org.odenix.collections.PersistentCollection
Returns an empty persistent collection.
clear() - Method in interface org.odenix.collections.PersistentList
Returns an empty persistent list.
clear() - Method in interface org.odenix.collections.PersistentMap
Returns an empty persistent map.
clear() - Method in interface org.odenix.collections.PersistentSet
Returns an empty persistent set.
contains(E) - Method in interface org.odenix.collections.ImmutableCollection
Returns true if this collection contains the specified element.
contains(E) - Method in class org.odenix.collections.ImmutableList.SubList
 
containsAll(Collection) - Method in interface org.odenix.collections.ImmutableCollection
Returns true if this collection contains all elements in the specified collection.
containsAll(Collection) - Method in class org.odenix.collections.ImmutableList.SubList
 
containsKey(K) - Method in interface org.odenix.collections.ImmutableMap
Returns true if the map contains the specified key.
containsValue(V) - Method in interface org.odenix.collections.ImmutableMap
Returns true if the map maps one or more keys to the specified value.

E

entries() - Method in interface org.odenix.collections.ImmutableMap
Returns a read-only Set of all key/value pairs in this map.
equals(Object) - Method in class org.odenix.collections.ImmutableList.SubList
 

F

from(CharSequence) - Static method in interface org.odenix.collections.ImmutableList
Returns an immutable list containing all characters.
from(CharSequence) - Static method in interface org.odenix.collections.ImmutableSet
Returns an immutable set of all characters.
from(CharSequence) - Static method in interface org.odenix.collections.PersistentList
Returns a persistent list containing all characters.
from(CharSequence) - Static method in interface org.odenix.collections.PersistentSet
Returns a persistent set of all characters.
from(Iterable) - Static method in interface org.odenix.collections.PersistentMap
Returns a persistent map containing all entries from the specified entry sequence.
from(Iterable) - Static method in interface org.odenix.collections.ImmutableList
Returns an immutable list containing all elements of the specified collection.
from(Iterable) - Static method in interface org.odenix.collections.ImmutableSet
Returns an immutable set of all elements of the specified collection.
from(Iterable) - Static method in interface org.odenix.collections.PersistentList
Returns a persistent list containing all elements of the specified collection.
from(Iterable) - Static method in interface org.odenix.collections.PersistentSet
Returns a persistent set of all elements of the specified collection.
from(Map.Entry[]) - Static method in interface org.odenix.collections.PersistentMap
Returns a persistent map containing all entries from the specified array.
from(Map) - Static method in interface org.odenix.collections.ImmutableMap
Returns an immutable map containing all entries from the specified map.
from(Map) - Static method in interface org.odenix.collections.PersistentMap
Returns a persistent map containing all entries from the specified map.
from(Stream) - Static method in interface org.odenix.collections.PersistentMap
Returns a persistent map containing all entries from the specified sequence.
from(Stream) - Static method in interface org.odenix.collections.ImmutableList
Returns an immutable list containing all elements of the specified sequence.
from(Stream) - Static method in interface org.odenix.collections.ImmutableSet
Returns an immutable set of all elements of the specified sequence.
from(Stream) - Static method in interface org.odenix.collections.PersistentList
Returns a persistent list containing all elements of the specified sequence.
from(Stream) - Static method in interface org.odenix.collections.PersistentSet
Returns a persistent set of all elements of the specified sequence.
from(ImmutableMap) - Static method in interface org.odenix.collections.ImmutableMap
Returns an immutable map containing all entries from the specified map.
from(ImmutableMap) - Static method in interface org.odenix.collections.PersistentMap
Returns a persistent map containing all entries from the specified map.
from(T[]) - Static method in interface org.odenix.collections.ImmutableList
Returns an immutable list containing all elements of the specified array.
from(T[]) - Static method in interface org.odenix.collections.ImmutableSet
Returns an immutable set of all elements of the specified array.
from(T[]) - Static method in interface org.odenix.collections.PersistentList
Returns a persistent list containing all elements of the specified array.
from(T[]) - Static method in interface org.odenix.collections.PersistentSet
Returns a persistent set of all elements of the specified array.

G

get(int) - Method in interface org.odenix.collections.ImmutableList
Returns the element at the specified index in the list.
get(int) - Method in class org.odenix.collections.ImmutableList.SubList
 
get(K) - Method in interface org.odenix.collections.ImmutableMap
Returns the value corresponding to the given key, or null if such a key is not present in the map.

H

hashCode() - Method in class org.odenix.collections.ImmutableList.SubList
 
hashFrom(CharSequence) - Static method in interface org.odenix.collections.PersistentSet
Returns a persistent set of all characters.
hashFrom(Iterable) - Static method in interface org.odenix.collections.PersistentMap
Returns a persistent map containing all entries from the specified entry sequence.
hashFrom(Iterable) - Static method in interface org.odenix.collections.PersistentSet
Returns a persistent set containing all elements from the specified collection.
hashFrom(Map.Entry[]) - Static method in interface org.odenix.collections.PersistentMap
Returns a persistent map containing all entries from the specified array.
hashFrom(Map) - Static method in interface org.odenix.collections.PersistentMap
Returns a persistent map containing all entries from the specified map.
hashFrom(Stream) - Static method in interface org.odenix.collections.PersistentMap
Returns a persistent map containing all entries from the specified sequence.
hashFrom(Stream) - Static method in interface org.odenix.collections.PersistentSet
Returns a persistent set of all elements of the specified sequence.
hashFrom(T[]) - Static method in interface org.odenix.collections.PersistentSet
Returns a persistent set of all elements of the specified array.
hashOf() - Static method in interface org.odenix.collections.PersistentMap
Returns an empty persistent map.
hashOf() - Static method in interface org.odenix.collections.PersistentSet
Returns an empty persistent set.
hashOf(E...) - Static method in interface org.odenix.collections.PersistentSet
Returns a new persistent set with the given elements.
hashOf(Map.Entry...) - Static method in interface org.odenix.collections.PersistentMap
Returns a new persistent map with the specified contents, given as a list of pairs where the first component is the key and the second is the value.

I

ImmutableCollection<E> - Interface in org.odenix.collections
A generic immutable collection of elements.
ImmutableList<E> - Interface in org.odenix.collections
A generic immutable ordered collection of elements.
ImmutableList.SubList<E> - Class in org.odenix.collections
 
ImmutableMap<K,V> - Interface in org.odenix.collections
A generic immutable collection that holds pairs of objects (keys and values) and supports efficiently retrieving the value corresponding to each key.
ImmutableSet<E> - Interface in org.odenix.collections
A generic immutable unordered collection of elements that does not support duplicate elements.
indexOf(E) - Method in interface org.odenix.collections.ImmutableList
Returns the index of the first occurrence of the specified element in the list, or -1 if the specified element is not contained in the list.
indexOf(E) - Method in class org.odenix.collections.ImmutableList.SubList
 
intersect(Iterable) - Method in interface org.odenix.collections.PersistentCollection
Returns all elements in this collection that are also contained in the specified elements collection.
intersect(Iterable) - Method in interface org.odenix.collections.PersistentSet
Returns all elements in this set that are also contained in the specified elements collection.
isEmpty() - Method in interface org.odenix.collections.ImmutableCollection
Returns true if this collection contains no elements.
isEmpty() - Method in interface org.odenix.collections.ImmutableMap
Returns true if the map is empty (contains no elements), false otherwise.
iterator() - Method in interface org.odenix.collections.ImmutableCollection
Returns an iterator over the elements of this collection.
iterator() - Method in class org.odenix.collections.ImmutableList.SubList
 

K

keys() - Method in interface org.odenix.collections.ImmutableMap
Returns a read-only Set of all keys in this map.

L

lastIndexOf(E) - Method in interface org.odenix.collections.ImmutableList
Returns the index of the last occurrence of the specified element in the list, or -1 if the specified element is not contained in the list.
lastIndexOf(E) - Method in class org.odenix.collections.ImmutableList.SubList
 
listIterator() - Method in interface org.odenix.collections.ImmutableList
Returns a list iterator over the elements in this list (in proper sequence).
listIterator() - Method in class org.odenix.collections.ImmutableList.SubList
 
listIterator(int) - Method in interface org.odenix.collections.ImmutableList
Returns a list iterator over the elements in this list (in proper sequence), starting at the specified index.
listIterator(int) - Method in class org.odenix.collections.ImmutableList.SubList
 

M

mutate(Consumer) - Method in interface org.odenix.collections.PersistentList
 
mutate(Consumer) - Method in interface org.odenix.collections.PersistentMap
 
mutate(Consumer) - Method in interface org.odenix.collections.PersistentSet
 

O

of() - Static method in interface org.odenix.collections.PersistentList
Returns an empty persistent list.
of() - Static method in interface org.odenix.collections.PersistentMap
Returns an empty persistent map.
of() - Static method in interface org.odenix.collections.PersistentSet
Returns an empty persistent set.
of(E...) - Static method in interface org.odenix.collections.PersistentList
Returns a new persistent list of the specified elements.
of(E...) - Static method in interface org.odenix.collections.PersistentSet
Returns a new persistent set with the given elements.
of(Map.Entry...) - Static method in interface org.odenix.collections.PersistentMap
Returns a new persistent map with the specified contents, given as a list of pairs where the first component is the key and the second is the value.
org.odenix.collections - module org.odenix.collections
A persistent collection library for Java 21+.
org.odenix.collections - package org.odenix.collections
Public API for immutable and persistent collection types: lists, sets, and maps.

P

parallelStream() - Method in interface org.odenix.collections.ImmutableCollection
Returns a possibly parallel Stream with this collection as its source.
PersistentCollection<E> - Interface in org.odenix.collections
A generic persistent collection of elements that supports adding and removing elements.
PersistentCollection.Builder<E> - Interface in org.odenix.collections
A generic builder of the persistent collection.
PersistentList<E> - Interface in org.odenix.collections
A generic persistent ordered collection of elements that supports adding and removing elements.
PersistentList.Builder<E> - Interface in org.odenix.collections
A generic builder of the persistent list.
PersistentMap<K,V> - Interface in org.odenix.collections
A generic persistent collection that holds pairs of objects (keys and values) and supports efficiently retrieving the value corresponding to each key.
PersistentMap.Builder<K,V> - Interface in org.odenix.collections
A generic builder of the persistent map.
PersistentSet<E> - Interface in org.odenix.collections
A generic persistent unordered collection of elements that does not support duplicate elements, and supports adding and removing elements.
PersistentSet.Builder<E> - Interface in org.odenix.collections
A generic builder of the persistent set.
put(K, V) - Method in interface org.odenix.collections.PersistentMap
Returns the result of associating the specified value with the specified key in this map.
putAll(Iterable) - Method in interface org.odenix.collections.PersistentMap
Returns the result of replacing or adding entries to this map from the specified key-value pairs.
putAll(Map.Entry[]) - Method in interface org.odenix.collections.PersistentMap
Returns the result of replacing or adding entries to this map from the specified key-value pairs.
putAll(Map) - Method in interface org.odenix.collections.PersistentMap
Returns the result of merging the specified m map with this map.
putAll(Stream) - Method in interface org.odenix.collections.PersistentMap
Returns the result of replacing or adding entries to this map from the specified key-value pairs.

R

remove(E) - Method in interface org.odenix.collections.PersistentCollection
Returns the result of removing a single appearance of the specified element from this collection.
remove(E) - Method in interface org.odenix.collections.PersistentList
Returns the result of removing the first appearance of the specified element from this list.
remove(E) - Method in interface org.odenix.collections.PersistentSet
Returns the result of removing the specified element from this set.
remove(K) - Method in interface org.odenix.collections.PersistentMap
Returns the result of removing the specified key and its corresponding value from this map.
remove(K, V) - Method in interface org.odenix.collections.PersistentMap
Returns the result of removing the entry that maps the specified key to the specified value.
removeAll(E[]) - Method in interface org.odenix.collections.PersistentCollection
Returns the result of removing all elements in this collection that are also contained in the specified elements array.
removeAll(E[]) - Method in interface org.odenix.collections.PersistentList
Returns the result of removing all elements in this list that are also contained in the specified elements array.
removeAll(E[]) - Method in interface org.odenix.collections.PersistentSet
Returns the result of removing all elements in this set that are also contained in the specified elements array.
removeAll(Iterable) - Method in interface org.odenix.collections.PersistentCollection
Returns the result of removing all elements in this collection that are also contained in the specified elements collection.
removeAll(Iterable) - Method in interface org.odenix.collections.PersistentList
Returns the result of removing all elements in this list that are also contained in the specified elements collection.
removeAll(Iterable) - Method in interface org.odenix.collections.PersistentSet
Returns the result of removing all elements in this set that are also contained in the specified elements collection.
removeAll(Iterable) - Method in interface org.odenix.collections.PersistentMap
Returns the result of removing the specified keys and their corresponding values from this map.
removeAll(Collection) - Method in interface org.odenix.collections.PersistentCollection
Returns the result of removing all elements in this collection that are also contained in the specified elements collection.
removeAll(Collection) - Method in interface org.odenix.collections.PersistentList
Returns the result of removing all elements in this list that are also contained in the specified elements collection.
removeAll(Collection) - Method in interface org.odenix.collections.PersistentSet
Returns the result of removing all elements in this set that are also contained in the specified elements collection.
removeAll(Predicate) - Method in interface org.odenix.collections.PersistentCollection
Returns the result of removing all elements in this collection that match the specified predicate.
removeAll(Predicate) - Method in interface org.odenix.collections.PersistentList
Returns the result of removing all elements in this list that match the specified predicate.
removeAll(Predicate) - Method in interface org.odenix.collections.PersistentSet
Returns the result of removing all elements in this set that match the specified predicate.
removeAll(Stream) - Method in interface org.odenix.collections.PersistentCollection
Returns the result of removing all elements in this collection that are also contained in the specified elements sequence.
removeAll(Stream) - Method in interface org.odenix.collections.PersistentList
Returns the result of removing all elements in this list that are also contained in the specified elements sequence.
removeAll(Stream) - Method in interface org.odenix.collections.PersistentSet
Returns the result of removing all elements in this set that are also contained in the specified elements sequence.
removeAll(Stream) - Method in interface org.odenix.collections.PersistentMap
Returns the result of removing the specified keys and their corresponding values from this map.
removeAll(K[]) - Method in interface org.odenix.collections.PersistentMap
Returns the result of removing the specified keys and their corresponding values from this map.
removeAt(int) - Method in interface org.odenix.collections.PersistentList
Returns a new persistent list with the element at the specified index removed.
retainAll(Collection) - Method in interface org.odenix.collections.PersistentCollection
Returns all elements in this collection that are also contained in the specified elements collection.
retainAll(Collection) - Method in interface org.odenix.collections.PersistentList
Returns all elements in this list that are also contained in the specified elements collection.
retainAll(Collection) - Method in interface org.odenix.collections.PersistentSet
Returns all elements in this set that are also contained in the specified elements collection.

S

set(int, E) - Method in interface org.odenix.collections.PersistentList
Returns a new persistent list with the element at the specified index replaced with the specified element.
size() - Method in interface org.odenix.collections.ImmutableCollection
Returns the number of elements in this collection.
size() - Method in class org.odenix.collections.ImmutableList.SubList
 
size() - Method in interface org.odenix.collections.ImmutableMap
Returns the number of key/value pairs in the map.
stream() - Method in interface org.odenix.collections.ImmutableCollection
Returns a sequential Stream with this collection as its source.
subList(int, int) - Method in interface org.odenix.collections.ImmutableList
Returns a view of the portion of this list between the specified fromIndex (inclusive) and toIndex (exclusive).
subList(int, int) - Method in class org.odenix.collections.ImmutableList.SubList
 

T

toString() - Method in class org.odenix.collections.ImmutableList.SubList
 

V

values() - Method in interface org.odenix.collections.ImmutableMap
Returns a read-only Collection of all values in this map.
A B C E F G H I K L M O P R S T V 
All Classes and Interfaces|All Packages