Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- a - Variable in class org.javimmutable.collections.Temp.Int1
- a - Variable in class org.javimmutable.collections.Temp.Val1
- a - Variable in class org.javimmutable.collections.Temp.Val2
- a - Variable in class org.javimmutable.collections.Temp.Val3
- a - Variable in class org.javimmutable.collections.Temp.Val4
- AbstractMap<K,
V> - Class in org.javimmutable.collections.common - AbstractMap() - Constructor for class org.javimmutable.collections.common.AbstractMap
- AbstractMultiset<T> - Class in org.javimmutable.collections.common
- AbstractMultiset(IMap<T, Integer>, int) - Constructor for class org.javimmutable.collections.common.AbstractMultiset
- AbstractSet<T> - Class in org.javimmutable.collections.common
- AbstractSet() - Constructor for class org.javimmutable.collections.common.AbstractSet
- AbstractSetUsingMap<T> - Class in org.javimmutable.collections.common
- AbstractSetUsingMap(IMap<T, Boolean>) - Constructor for class org.javimmutable.collections.common.AbstractSetUsingMap
- AbstractSplitableIterator<T> - Class in org.javimmutable.collections.iterators
- AbstractSplitableIterator() - Constructor for class org.javimmutable.collections.iterators.AbstractSplitableIterator
- add(int) - Method in class org.javimmutable.collections.common.MutableDelta
- add(Iterable<? extends IMapEntry<? extends K, ? extends V>>) - Method in interface org.javimmutable.collections.IMapBuilder
-
Adds all values in the Collection to the values included in the collection when build() is called.
- add(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IArrayBuilder
-
Adds all values in the Collection to the values included in the collection when build() is called.
- add(Iterable<? extends T>) - Method in interface org.javimmutable.collections.ISetBuilder
-
Adds all values in the Collection to the values included in the collection when build() is called.
- add(Iterator<? extends IMapEntry<? extends K, ? extends V>>) - Method in interface org.javimmutable.collections.IMapBuilder
-
Adds all values in the Iterator to the values included in the collection when build() is called.
- add(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IArrayBuilder
-
Adds all values in the Iterator to the values included in the collection when build() is called.
- add(Iterator<? extends T>) - Method in interface org.javimmutable.collections.ISetBuilder
-
Adds all values in the Iterator to the values included in the collection when build() is called.
- add(Map<? extends K, ? extends V>) - Method in interface org.javimmutable.collections.IMapBuilder
-
Adds all values in the Map to the values included in the collection when build() is called.
- add(K...) - Method in interface org.javimmutable.collections.IArrayBuilder
-
Adds all values in the array to the values included in the collection when build() is called.
- add(K...) - Method in interface org.javimmutable.collections.ISetBuilder
-
Adds all values in the array to the values included in the collection when build() is called.
- add(K, V) - Method in class org.javimmutable.collections.hash.HashMap.Builder
- add(K, V) - Method in interface org.javimmutable.collections.IMapBuilder
- add(IMapBuilder<K, V>) - Method in interface org.javimmutable.collections.IMapBuilder
- add(IMapEntry<? extends K, ? extends V>) - Method in interface org.javimmutable.collections.IMapBuilder
- add(Indexed<? extends IMapEntry<? extends K, ? extends V>>) - Method in interface org.javimmutable.collections.IMapBuilder
-
Adds all values in the Indexed to the values included in the collection when build() is called.
- add(Indexed<? extends IMapEntry<? extends K, ? extends V>>, int, int) - Method in interface org.javimmutable.collections.IMapBuilder
-
Adds all values in the specified range of Indexed to the values included in the collection when build() is called.
- add(Indexed<? extends T>) - Method in interface org.javimmutable.collections.IArrayBuilder
-
Adds all values in the Indexed to the values included in the collection when build() is called.
- add(Indexed<? extends T>) - Method in interface org.javimmutable.collections.ISetBuilder
-
Adds all values in the Indexed to the values included in the collection when build() is called.
- add(Indexed<? extends T>, int, int) - Method in interface org.javimmutable.collections.IArrayBuilder
-
Adds all values in the specified range of Indexed to the values included in the collection when build() is called.
- add(Indexed<? extends T>, int, int) - Method in interface org.javimmutable.collections.ISetBuilder
-
Adds all values in the specified range of Indexed to the values included in the collection when build() is called.
- add(T) - Method in class org.javimmutable.collections.array.TrieArray.Builder
- add(T) - Method in class org.javimmutable.collections.array.TrieArrayBuilder
- add(T) - Method in class org.javimmutable.collections.common.GenericSetBuilder
- add(T) - Method in class org.javimmutable.collections.deque.ArrayDeque.Builder
- add(T) - Method in interface org.javimmutable.collections.IArrayBuilder
-
Adds the specified value to the values included in the collection when build() is called.
- add(T) - Method in interface org.javimmutable.collections.IDequeBuilder
-
Adds the specified value to the values included in the collection when build() is called.
- add(T) - Method in interface org.javimmutable.collections.IListBuilder
-
Adds the specified value to the values included in the collection when build() is called.
- add(T) - Method in interface org.javimmutable.collections.ISetBuilder
-
Adds the specified value to the values included in the collection when build() is called.
- add(T) - Method in class org.javimmutable.collections.list.TreeList.ListBuilder
- add(T...) - Method in interface org.javimmutable.collections.IMapBuilder
-
Adds all values in the array to the values included in the collection when build() is called.
- addAll(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IDequeBuilder
-
Adds all values in the Collection to the values included in the collection when build() is called.
- addAll(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IListBuilder
-
Adds all values in the Collection to the values included in the collection when build() is called.
- addAll(Iterable<? extends T>) - Method in class org.javimmutable.collections.list.TreeList.ListBuilder
- addAll(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IDequeBuilder
-
Adds all values in the Iterator to the values included in the collection when build() is called.
- addAll(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IListBuilder
-
Adds all values in the Iterator to the values included in the collection when build() is called.
- addAll(Iterator<? extends T>) - Method in class org.javimmutable.collections.list.TreeList.ListBuilder
- addAll(K...) - Method in interface org.javimmutable.collections.IDequeBuilder
-
Adds all values in the array to the values included in the collection when build() is called.
- addAll(K...) - Method in interface org.javimmutable.collections.IListBuilder
-
Adds all values in the array to the values included in the collection when build() is called.
- addAll(K...) - Method in class org.javimmutable.collections.list.TreeList.ListBuilder
- addAll(Indexed<? extends T>) - Method in interface org.javimmutable.collections.IDequeBuilder
-
Adds all values in the Indexed to the values included in the collection when build() is called.
- addAll(Indexed<? extends T>) - Method in interface org.javimmutable.collections.IListBuilder
-
Adds all values in the Indexed to the values included in the collection when build() is called.
- addAll(Indexed<? extends T>) - Method in class org.javimmutable.collections.list.TreeList.ListBuilder
- addAll(Indexed<? extends T>, int, int) - Method in interface org.javimmutable.collections.IDequeBuilder
-
Adds all values in the specified range of Indexed to the values included in the collection when build() is called.
- addAll(Indexed<? extends T>, int, int) - Method in interface org.javimmutable.collections.IListBuilder
-
Adds all values in the specified range of Indexed to the values included in the collection when build() is called.
- addAll(Indexed<? extends T>, int, int) - Method in class org.javimmutable.collections.list.TreeList.ListBuilder
- addBit(long, long) - Static method in class org.javimmutable.collections.common.BitmaskMath
- addToString(StringBuilder, int, K, V) - Static method in class org.javimmutable.collections.common.ToStringHelper
- addToString(StringBuilder, int, V) - Static method in class org.javimmutable.collections.common.ToStringHelper
- addToString(StringBuilder, K, V) - Static method in class org.javimmutable.collections.MapEntry
- addToString(StringBuilder, IMapEntry) - Static method in class org.javimmutable.collections.MapEntry
- advance() - Method in interface org.javimmutable.collections.iterators.GenericIterator.State
-
Try to move forward to the next position.
- advanceToNextValue(GenericIterator.State<T>) - Static method in interface org.javimmutable.collections.iterators.GenericIterator.State
-
Advances past current value (if any) and then chains calls to
GenericIterator.State.advance()
until wither a value is reached or null is returned. - advanceUntilHasValue(GenericIterator.State<T>) - Static method in interface org.javimmutable.collections.iterators.GenericIterator.State
-
Chains calls to
GenericIterator.State.advance()
until wither a value is reached or null is returned. - ALL_BITS - Static variable in class org.javimmutable.collections.common.BitmaskMath
- allocate(int) - Static method in class org.javimmutable.collections.common.ArrayHelper
- allocate(int) - Method in interface org.javimmutable.collections.common.ArrayHelper.Allocator
- allocator(Class<T>) - Static method in class org.javimmutable.collections.common.ArrayHelper
-
Creates an Allocator for arrays of the given class.
- allOf(Iterable<? extends T>) - Static method in class org.javimmutable.collections.IArrays
-
Creates a sparse array containing all of the values from source that supports any integer (positive or negative) as an index.
- allOf(Iterable<? extends T>) - Static method in class org.javimmutable.collections.IDeques
-
Efficiently produces a
IList
containing all of the values in source built atop a balanced binary tree. - allOf(Iterable<? extends T>) - Static method in class org.javimmutable.collections.ILists
-
Efficiently produces a
IList
containing all of the values in source built atop a balanced binary tree. - allOf(Iterator<? extends T>) - Static method in class org.javimmutable.collections.IDeques
-
Efficiently produces a
IList
containing all of the values in source built atop a balanced binary tree. - allOf(Iterator<? extends T>) - Static method in class org.javimmutable.collections.ILists
-
Efficiently produces a
IList
containing all of the values in source built atop a balanced binary tree. - allOf(Iterator<IMapEntry<Integer, T>>) - Static method in class org.javimmutable.collections.IArrays
-
Creates a sparse array containing all of the values from source that supports any integer (positive or negative) as an index.
- allOf(Indexed<? extends T>) - Static method in class org.javimmutable.collections.IArrays
-
Creates a sparse array containing all of the values from source that supports any integer (positive or negative) as an index.
- allOf(Indexed<? extends T>, int, int) - Static method in class org.javimmutable.collections.IArrays
-
Creates a sparse array containing all of the values in the specified range from source that supports any integer (positive or negative) as an index.
- append(ArrayHelper.Allocator<T>, T[], T) - Static method in class org.javimmutable.collections.common.ArrayHelper
-
Creates a copy of orig with one extra value added at the end.
- apply() - Method in interface org.javimmutable.collections.Func0
- apply() - Method in interface org.javimmutable.collections.Func0Throws
- apply() - Method in interface org.javimmutable.collections.Proc0
- apply() - Method in interface org.javimmutable.collections.Proc0Throws
- apply(int, int) - Method in interface org.javimmutable.collections.IntFunc2
- apply(int, A) - Method in interface org.javimmutable.collections.IndexedProc1
- apply(int, A) - Method in interface org.javimmutable.collections.IndexedProc1Throws
- apply(A) - Method in interface org.javimmutable.collections.Proc1
- apply(A) - Method in interface org.javimmutable.collections.Proc1Throws
- apply(A, B) - Method in interface org.javimmutable.collections.Proc2
- apply(A, B) - Method in interface org.javimmutable.collections.Proc2Throws
- apply(Integer) - Method in class org.javimmutable.collections.common.MutableDelta
- apply(Proc0) - Method in class org.javimmutable.collections.Maybe
-
Invokes absentAction if this is empty.
- apply(Proc0) - Method in class org.javimmutable.collections.NotNull
-
Invokes absentAction if this is empty.
- apply(Proc1<? super T>) - Method in class org.javimmutable.collections.Maybe
-
Invokes presentAction with this value if this is full.
- apply(Proc1<? super T>) - Method in class org.javimmutable.collections.NotNull
-
Invokes presentAction with this value if this is full.
- apply(Proc1Throws<T, ? super Exception>) - Method in class org.javimmutable.collections.Computation
-
Add a step to the computation that executes the procedure on the current value without changing that value.
- apply(Proc1Throws<T, ? super Exception>) - Method in class org.javimmutable.collections.Result
-
Does nothing if we are a failure result.
- apply(Proc1Throws<T, ? super Exception>) - Method in class org.javimmutable.collections.Result.Failure
- apply(Proc1Throws<T, ? super Exception>) - Method in class org.javimmutable.collections.Result.Success
- apply(P) - Method in interface org.javimmutable.collections.Func1
- apply(P) - Method in interface org.javimmutable.collections.Func1Throws
- apply(P1, P2) - Method in interface org.javimmutable.collections.Func2
- apply(P1, P2) - Method in interface org.javimmutable.collections.Func2Throws
- apply(P1, P2, P3) - Method in interface org.javimmutable.collections.Func3
- apply(P1, P2, P3) - Method in interface org.javimmutable.collections.Func3Throws
- apply(P1, P2, P3, P4) - Method in interface org.javimmutable.collections.Func4
- apply(P1, P2, P3, P4) - Method in interface org.javimmutable.collections.Func4Throws
- apply(R, A) - Method in interface org.javimmutable.collections.Sum1
- apply(R, A) - Method in interface org.javimmutable.collections.Sum1Throws
- apply(R, A, B) - Method in interface org.javimmutable.collections.Sum2
- apply(R, A, B) - Method in interface org.javimmutable.collections.Sum2Throws
- applyThrows(Proc0Throws<E>) - Method in class org.javimmutable.collections.Maybe
-
Invokes absentAction if this is empty.
- applyThrows(Proc0Throws<E>) - Method in class org.javimmutable.collections.NotNull
-
Invokes absentAction if this is empty.
- applyThrows(Proc1Throws<? super T, E>) - Method in class org.javimmutable.collections.Maybe
-
Invokes presentAction with this value if this is full.
- applyThrows(Proc1Throws<? super T, E>) - Method in class org.javimmutable.collections.NotNull
-
Invokes presentAction with this value if this is full.
- areEqual(Set<T>, Set<T>) - Static method in class org.javimmutable.collections.common.SetAdaptor
- ARRAY_SIZE - Static variable in class org.javimmutable.collections.common.BitmaskMath
- ArrayAssignMapper<K,
V, - Interface in org.javimmutable.collections.arrayT> - ArrayContainsMapper<K,
T> - Interface in org.javimmutable.collections.array - ArrayDeleteMapper<K,
T> - Interface in org.javimmutable.collections.array - ArrayDeque<T> - Class in org.javimmutable.collections.deque
-
IDeque implementation using 32-way trees.
- ArrayDeque.Builder<T> - Class in org.javimmutable.collections.deque
- ArrayDequeProxy - Class in org.javimmutable.collections.serialization
-
Serialization proxy class to safely serialize immutable collection.
- ArrayDequeProxy() - Constructor for class org.javimmutable.collections.serialization.ArrayDequeProxy
- ArrayDequeProxy(IDeque) - Constructor for class org.javimmutable.collections.serialization.ArrayDequeProxy
- ArrayFindEntryMapper<K,
V, - Interface in org.javimmutable.collections.arrayT> - ArrayGetMapper<K,
V, - Interface in org.javimmutable.collections.arrayT> - ArrayHelper - Class in org.javimmutable.collections.common
- ArrayHelper() - Constructor for class org.javimmutable.collections.common.ArrayHelper
- ArrayHelper.Allocator<T> - Interface in org.javimmutable.collections.common
- arrayIndexForBit(long, long) - Static method in class org.javimmutable.collections.common.BitmaskMath
- ArrayIterationMapper<K,
V, - Interface in org.javimmutable.collections.arrayT> - ArrayMapNode<K,
V> - Interface in org.javimmutable.collections.hash.map - ArrayMultiValueMapNode<K,
V> - Class in org.javimmutable.collections.hash.map - ArrayMultiValueMapNode(CollisionMap.Node) - Constructor for class org.javimmutable.collections.hash.map.ArrayMultiValueMapNode
- ArrayMultiValueSetNode<T> - Class in org.javimmutable.collections.hash.set
- ArrayMultiValueSetNode(CollisionSet.Node) - Constructor for class org.javimmutable.collections.hash.set.ArrayMultiValueSetNode
- ArrayProxy - Class in org.javimmutable.collections.serialization
-
Serialization proxy class to safely serialize immutable collection.
- ArrayProxy() - Constructor for class org.javimmutable.collections.serialization.ArrayProxy
- ArrayProxy(IArray) - Constructor for class org.javimmutable.collections.serialization.ArrayProxy
- ArraySetNode<T> - Interface in org.javimmutable.collections.hash.set
- ArraySingleValueMapNode<K,
V> - Class in org.javimmutable.collections.hash.map - ArraySingleValueMapNode(K, V) - Constructor for class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- ArraySingleValueMapNode(IMapEntry<K, V>) - Constructor for class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- ArraySingleValueSetNode<T> - Class in org.javimmutable.collections.hash.set
- ArraySingleValueSetNode(T) - Constructor for class org.javimmutable.collections.hash.set.ArraySingleValueSetNode
- ArraySizeMapper<T> - Interface in org.javimmutable.collections.array
- ArrayToMapAdaptor<T> - Class in org.javimmutable.collections.common
- ArrayToMapAdaptor(IArray<T>) - Constructor for class org.javimmutable.collections.common.ArrayToMapAdaptor
- arrayToString(V[]) - Static method in class org.javimmutable.collections.common.ToStringHelper
- ArrayUpdateMapper<K,
V, - Interface in org.javimmutable.collections.arrayT> - asIMapEntry() - Method in class org.javimmutable.collections.MapEntry
- asList(Indexed<T>) - Static method in class org.javimmutable.collections.indexed.IndexedHelper
-
Creates a mutable List containing all values from the Indexed.
- asMapEntry() - Method in class org.javimmutable.collections.MapEntry
- assign(int, T) - Method in class org.javimmutable.collections.array.TrieArray
- assign(int, T) - Method in class org.javimmutable.collections.array.TrieArrayNode
- assign(int, T) - Method in class org.javimmutable.collections.deque.ArrayDeque
- assign(int, T) - Method in interface org.javimmutable.collections.IArray
-
Sets the value associated with a specific index.
- assign(int, T) - Method in interface org.javimmutable.collections.IDeque
-
Replaces the value at the specified index (which must be within current bounds of the list) with the new value.
- assign(int, T) - Method in interface org.javimmutable.collections.IList
-
Replaces the value at the specified index (which must be within current bounds of the list) with the new value.
- assign(int, T) - Method in class org.javimmutable.collections.list.TreeList
- assign(long, T) - Method in class org.javimmutable.collections.array.TrieLongArrayNode
- assign(K, IList<V>) - Method in interface org.javimmutable.collections.IListMap
-
Sets the list associated with a specific key.
- assign(K, IList<V>) - Method in class org.javimmutable.collections.listmap.HashListMap
- assign(K, IList<V>) - Method in class org.javimmutable.collections.listmap.OrderedListMap
- assign(K, IList<V>) - Method in class org.javimmutable.collections.listmap.TreeListMap
- assign(K, ISet<V>) - Method in interface org.javimmutable.collections.ISetMap
-
Sets the set associated with a specific key.
- assign(K, ISet<V>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- assign(K, ISet<V>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- assign(K, ISet<V>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- assign(K, ISet<V>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- assign(K, V) - Method in class org.javimmutable.collections.hash.EmptyHashMap
- assign(K, V) - Method in class org.javimmutable.collections.hash.HashMap
- assign(K, V) - Method in interface org.javimmutable.collections.IMap
-
Sets the value associated with a specific key.
- assign(K, V) - Method in class org.javimmutable.collections.inorder.OrderedMap
- assign(K, V) - Method in class org.javimmutable.collections.tree.TreeMap
- assign(ArrayAssignMapper<K, V, T>, K, V) - Method in class org.javimmutable.collections.array.TrieArrayBuilder
- assign(CollisionMap<K, V>, K, V) - Method in interface org.javimmutable.collections.hash.map.ArrayMapNode
- assign(CollisionMap<K, V>, K, V) - Method in class org.javimmutable.collections.hash.map.ArrayMultiValueMapNode
- assign(CollisionMap<K, V>, K, V) - Method in class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- assign(T[], int, T) - Static method in class org.javimmutable.collections.common.ArrayHelper
-
Creates a copy of orig with the value at index replaced by value.
- assignAll(Map<? extends K, ? extends V>) - Method in class org.javimmutable.collections.common.AbstractMap
- assignAll(Map<? extends K, ? extends V>) - Method in interface org.javimmutable.collections.IMap
-
Copies all key-value pairs from the given map.
- assignAll(IMap<? extends K, ? extends V>) - Method in class org.javimmutable.collections.common.AbstractMap
- assignAll(IMap<? extends K, ? extends V>) - Method in interface org.javimmutable.collections.IMap
-
Copies all key-value pairs from the given map.
- assignAll(IMap<K, V>, Map<K, V>) - Static method in class org.javimmutable.collections.util.Functions
- assignAll(IMap<K, V>, IMap<K, V>) - Static method in class org.javimmutable.collections.util.Functions
- assignAppend(ArrayHelper.Allocator<T>, T[], T, T) - Static method in class org.javimmutable.collections.common.ArrayHelper
-
Replace the last value in orig (which cannot be empty) with assignValue and also append appendValue to the end.
- assignDelete(ArrayHelper.Allocator<T>, T[], int, T) - Static method in class org.javimmutable.collections.common.ArrayHelper
-
Deletes the node at index and sets the value of the resulting array at index to newNode.
- assignInsert(ArrayHelper.Allocator<T>, T[], int, T, T) - Static method in class org.javimmutable.collections.common.ArrayHelper
-
Replace the value at index with assignValue and insert insertValue immediately at index + 1.
- assignTwo(T[], int, T, T) - Static method in class org.javimmutable.collections.common.ArrayHelper
-
Replaces the node at index with first and the node at index + 1 with second.
- attempt(Callable<T>) - Static method in class org.javimmutable.collections.Result
-
Attempts to compute a value and returns an appropriate
Result
.
B
- b - Variable in class org.javimmutable.collections.Temp.Val2
- b - Variable in class org.javimmutable.collections.Temp.Val3
- b - Variable in class org.javimmutable.collections.Temp.Val4
- baseIndexAtShift(int, int) - Static method in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- baseIndexAtShift(int, long) - Static method in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- baseIndexFromHashCode(int) - Static method in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- baseIndexFromHashCode(long) - Static method in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- bitCount(long) - Static method in class org.javimmutable.collections.common.BitmaskMath
- bitFromIndex(int) - Static method in class org.javimmutable.collections.common.BitmaskMath
- bitIsAbsent(long, long) - Static method in class org.javimmutable.collections.common.BitmaskMath
- bitIsPresent(long, long) - Static method in class org.javimmutable.collections.common.BitmaskMath
- bitmask(int...) - Static method in class org.javimmutable.collections.common.BitmaskMath
- BitmaskMath - Class in org.javimmutable.collections.common
-
Helper class with static methods to manipulate long bitmasks.
- build() - Method in class org.javimmutable.collections.array.TrieArray.Builder
- build() - Method in class org.javimmutable.collections.common.GenericSetBuilder
- build() - Method in class org.javimmutable.collections.deque.ArrayDeque.Builder
- build() - Method in class org.javimmutable.collections.hash.HashMap.Builder
- build() - Method in interface org.javimmutable.collections.IArrayBuilder
-
Builds and returns a collection containing all of the added values.
- build() - Method in interface org.javimmutable.collections.IDequeBuilder
-
Builds and returns a collection containing all of the added values.
- build() - Method in interface org.javimmutable.collections.IListBuilder
-
Builds and returns a collection containing all of the added values.
- build() - Method in interface org.javimmutable.collections.IMapBuilder
- build() - Method in interface org.javimmutable.collections.ISetBuilder
-
Builds and returns a collection containing all of the added values.
- build() - Method in class org.javimmutable.collections.list.TreeList.ListBuilder
- builder() - Static method in class org.javimmutable.collections.array.TrieArray
- builder() - Static method in class org.javimmutable.collections.deque.ArrayDeque
- builder() - Static method in class org.javimmutable.collections.hash.HashMap
- builder() - Static method in class org.javimmutable.collections.hash.HashSet
- builder() - Static method in class org.javimmutable.collections.IArrays
-
Produces a Builder for efficiently constructing a IArray built atop a 32-way integer trie.
- builder() - Static method in class org.javimmutable.collections.IDeques
-
Produces a Builder for efficiently constructing an IDeque.
- builder() - Static method in class org.javimmutable.collections.ILists
-
Produces a Builder for efficiently constructing a IList built atop a balanced binary tree.
- builder() - Static method in class org.javimmutable.collections.inorder.OrderedMap
- builder() - Static method in class org.javimmutable.collections.inorder.OrderedSet
- builder() - Static method in class org.javimmutable.collections.tree.TreeMap
- builder() - Static method in class org.javimmutable.collections.tree.TreeSet
- builder(Comparator<K>) - Static method in class org.javimmutable.collections.tree.TreeMap
- builder(Comparator<T>) - Static method in class org.javimmutable.collections.tree.TreeSet
- Builder() - Constructor for class org.javimmutable.collections.hash.HashMap.Builder
- builderFactory - Variable in class org.javimmutable.collections.serialization.TreeListProxy
- buildRoot() - Method in class org.javimmutable.collections.array.TrieArrayBuilder
C
- c - Variable in class org.javimmutable.collections.Temp.Val3
- c - Variable in class org.javimmutable.collections.Temp.Val4
- call() - Method in class org.javimmutable.collections.Computation
-
Execute the computation and return the final value or throw any exception that terminated the computation.
- cast(Class<T>, Object) - Static method in class org.javimmutable.collections.Maybe
-
Determine if the object is an instance of the specified Class or a subclass.
- cast(Class<T>, Object) - Static method in class org.javimmutable.collections.NotNull
-
Determine if the object is an instance of the specified Class or a subclass.
- checkBounds(T[], int) - Static method in class org.javimmutable.collections.common.ArrayHelper
- checkInvariants() - Method in class org.javimmutable.collections.array.TrieArray
- checkInvariants() - Method in class org.javimmutable.collections.array.TrieLongArrayNode
- checkInvariants() - Method in class org.javimmutable.collections.common.AbstractMultiset
- checkInvariants() - Method in class org.javimmutable.collections.common.AbstractSetUsingMap
- checkInvariants() - Method in class org.javimmutable.collections.deque.ArrayDeque.Builder
- checkInvariants() - Method in class org.javimmutable.collections.deque.ArrayDeque
- checkInvariants() - Method in class org.javimmutable.collections.hash.EmptyHashMap
- checkInvariants() - Method in class org.javimmutable.collections.hash.EmptyHashSet
- checkInvariants() - Method in class org.javimmutable.collections.hash.HashMap
- checkInvariants() - Method in class org.javimmutable.collections.hash.HashSet
- checkInvariants() - Method in class org.javimmutable.collections.inorder.OrderedMap
- checkInvariants() - Method in interface org.javimmutable.collections.InvariantCheckable
-
Checks invariants of implementing class.
- checkInvariants() - Method in class org.javimmutable.collections.list.TreeList
- checkInvariants() - Method in class org.javimmutable.collections.list.TreeList.ListBuilder
- checkInvariants() - Method in class org.javimmutable.collections.listmap.HashListMap
- checkInvariants() - Method in class org.javimmutable.collections.listmap.OrderedListMap
- checkInvariants() - Method in class org.javimmutable.collections.listmap.TreeListMap
- checkInvariants() - Method in class org.javimmutable.collections.setmap.HashSetMap
- checkInvariants() - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- checkInvariants() - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- checkInvariants() - Method in class org.javimmutable.collections.setmap.TreeSetMap
- checkInvariants() - Method in class org.javimmutable.collections.tree.TreeMap
- checkInvariants(ArraySizeMapper<T>) - Method in class org.javimmutable.collections.array.TrieArrayNode
- checkListMapInvariants() - Method in class org.javimmutable.collections.listmap.HashListMap
- checkListMapInvariants() - Method in class org.javimmutable.collections.listmap.OrderedListMap
- checkListMapInvariants() - Method in class org.javimmutable.collections.listmap.TreeListMap
- checkSetInvariants() - Method in class org.javimmutable.collections.common.AbstractSetUsingMap
- checkSetMapInvariants() - Method in class org.javimmutable.collections.setmap.HashSetMap
- checkSetMapInvariants() - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- checkSetMapInvariants() - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- checkSetMapInvariants() - Method in class org.javimmutable.collections.setmap.TreeSetMap
- clear() - Method in class org.javimmutable.collections.array.TrieArray.Builder
- clear() - Method in class org.javimmutable.collections.common.ArrayToMapAdaptor
- clear() - Method in class org.javimmutable.collections.common.GenericSetBuilder
- clear() - Method in class org.javimmutable.collections.common.MapAdaptor
- clear() - Method in class org.javimmutable.collections.deque.ArrayDeque.Builder
- clear() - Method in class org.javimmutable.collections.hash.HashMap.Builder
- clear() - Method in interface org.javimmutable.collections.IArrayBuilder
-
Removes all objects and resets the builder to it's initial post-build state.
- clear() - Method in interface org.javimmutable.collections.IDequeBuilder
-
Deletes all values.
- clear() - Method in interface org.javimmutable.collections.IListBuilder
-
Deletes all values.
- clear() - Method in interface org.javimmutable.collections.IMapBuilder
-
Deletes all values.
- clear() - Method in interface org.javimmutable.collections.ISetBuilder
-
Removes all objects and resets the builder to it's initial post-build state.
- clear() - Method in class org.javimmutable.collections.list.TreeList.ListBuilder
- collector() - Static method in class org.javimmutable.collections.array.TrieArray
- collector() - Static method in class org.javimmutable.collections.deque.ArrayDeque
- collector() - Method in class org.javimmutable.collections.setmap.SetMapFactory
- CollisionMap<K,
V> - Interface in org.javimmutable.collections.common -
Interface for simple collection objects that manage the contents of leaf nodes in the hash table.
- CollisionMap.Node - Interface in org.javimmutable.collections.common
- CollisionSet<T> - Interface in org.javimmutable.collections.common
-
Interface for simple collection objects that manage the contents of leaf nodes in the hash table.
- CollisionSet.Node - Interface in org.javimmutable.collections.common
- combineWith(TreeList.ListBuilder<T>) - Method in class org.javimmutable.collections.list.TreeList.ListBuilder
- ComparableComparator<V> - Class in org.javimmutable.collections.tree
-
Comparator that uses the associated type's own compareTo() method.
- ComparableComparator() - Constructor for class org.javimmutable.collections.tree.ComparableComparator
- compare(V, V) - Method in class org.javimmutable.collections.tree.ComparableComparator
- compareKeys(IMapEntry<K, V>, IMapEntry<K, V>) - Static method in class org.javimmutable.collections.MapEntry
- Computation<T> - Class in org.javimmutable.collections
-
A deferred computation.
- compute() - Method in class org.javimmutable.collections.Computation
-
Execute the computation and return a
Result
containing the final value or an exception that terminated the computation. - concat(ArrayHelper.Allocator<T>, T[], T[]) - Static method in class org.javimmutable.collections.common.ArrayHelper
-
Creates a new array containing all the values of a followed by all the values of b.
- Conditions - Class in org.javimmutable.collections.common
-
Utility class containing static methods for implementing pre and post conditions.
- contains(Object) - Method in class org.javimmutable.collections.common.SetAdaptor
- contains(K) - Method in interface org.javimmutable.collections.ISetMap
-
Determines if the setmap contains the specified key.
- contains(K) - Method in class org.javimmutable.collections.setmap.HashSetMap
- contains(K) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- contains(K) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- contains(K) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- contains(K, V) - Method in interface org.javimmutable.collections.ISetMap
-
Determines if the Set at key contains the specified value.
- contains(K, V) - Method in class org.javimmutable.collections.setmap.HashSetMap
- contains(K, V) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- contains(K, V) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- contains(K, V) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- contains(CollisionSet.Node, T) - Method in interface org.javimmutable.collections.common.CollisionSet
- contains(CollisionSet.Node, T) - Method in class org.javimmutable.collections.list.ListCollisionSet
- contains(CollisionSet.Node, T) - Method in class org.javimmutable.collections.tree.TreeCollisionSet
- contains(CollisionSet<T>, T) - Method in class org.javimmutable.collections.hash.set.ArrayMultiValueSetNode
- contains(CollisionSet<T>, T) - Method in interface org.javimmutable.collections.hash.set.ArraySetNode
- contains(CollisionSet<T>, T) - Method in class org.javimmutable.collections.hash.set.ArraySingleValueSetNode
- contains(T) - Method in class org.javimmutable.collections.common.AbstractMultiset
- contains(T) - Method in class org.javimmutable.collections.common.AbstractSetUsingMap
- contains(T) - Method in class org.javimmutable.collections.hash.EmptyHashSet
- contains(T) - Method in class org.javimmutable.collections.hash.HashSet
- contains(T) - Method in interface org.javimmutable.collections.IMultiset
-
Determines if the multiset contains at least one occurrence of the specified value
- contains(T) - Method in interface org.javimmutable.collections.ISet
-
Determines if the Set contains the specified value.
- containsAll(Iterable<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- containsAll(Iterable<? extends T>) - Method in class org.javimmutable.collections.common.AbstractSet
- containsAll(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Determines if the multiset contains every value (but not necessarily the same number of occurrences of each value) in other.
- containsAll(Iterable<? extends T>) - Method in interface org.javimmutable.collections.ISet
-
Determines if the Set contains all values in the specified collection.
- containsAll(Collection<?>) - Method in class org.javimmutable.collections.common.SetAdaptor
- containsAll(Iterator<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- containsAll(Iterator<? extends T>) - Method in class org.javimmutable.collections.common.AbstractSet
- containsAll(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Determines if the multiset contains every value (but not necessarily the same number of occurrences of each value) in other.
- containsAll(Iterator<? extends T>) - Method in interface org.javimmutable.collections.ISet
-
Determines if the Set contains all values in the specified collection.
- containsAll(K, Iterable<? extends V>) - Method in interface org.javimmutable.collections.ISetMap
-
Determines if the Set at key contains all values in the specified collection.
- containsAll(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- containsAll(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- containsAll(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- containsAll(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- containsAll(K, Iterator<? extends V>) - Method in interface org.javimmutable.collections.ISetMap
-
Determines if the Set at key contains all values in the specified collection.
- containsAll(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- containsAll(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- containsAll(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- containsAll(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- containsAllOccurrences(Iterable<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- containsAllOccurrences(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Determines if the multiset contains every occurrence of all the values in other.
- containsAllOccurrences(Iterator<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- containsAllOccurrences(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Determines if the multiset contains every occurrence of all the values in other.
- containsAllOccurrences(IMultiset<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- containsAllOccurrences(IMultiset<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Determines if the multiset contains every occurrence of all the values in other.
- containsAny(Iterable<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- containsAny(Iterable<? extends T>) - Method in class org.javimmutable.collections.common.AbstractSet
- containsAny(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Determines if the multiset and other have at least one value in common.
- containsAny(Iterable<? extends T>) - Method in interface org.javimmutable.collections.ISet
-
Determines if the Set contains any values in the specified collection.
- containsAny(Iterator<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- containsAny(Iterator<? extends T>) - Method in class org.javimmutable.collections.common.AbstractSet
- containsAny(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Determines if the multiset and other have at least one value in common.
- containsAny(Iterator<? extends T>) - Method in interface org.javimmutable.collections.ISet
-
Determines if the Set contains any values in the specified collection.
- containsAny(K, Iterable<? extends V>) - Method in interface org.javimmutable.collections.ISetMap
-
Determines if the Set at key contains any values in the specified collection.
- containsAny(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- containsAny(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- containsAny(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- containsAny(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- containsAny(K, Iterator<? extends V>) - Method in interface org.javimmutable.collections.ISetMap
-
Determines if the Set at key contains any values in the specified collection.
- containsAny(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- containsAny(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- containsAny(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- containsAny(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- containsAtLeast(T, int) - Method in class org.javimmutable.collections.common.AbstractMultiset
- containsAtLeast(T, int) - Method in interface org.javimmutable.collections.IMultiset
-
Determines if the multiset contains at least count occurrences of value.
- containsKey(Object) - Method in class org.javimmutable.collections.common.ArrayToMapAdaptor
- containsKey(Object) - Method in class org.javimmutable.collections.common.MapAdaptor
- containsValue(Object) - Method in class org.javimmutable.collections.common.ArrayToMapAdaptor
-
Uses O(n) traversal of the
invalid reference
IMap
- containsValue(Object) - Method in class org.javimmutable.collections.common.MapAdaptor
-
Uses O(n) traversal of the
IMap
to search for a matching value. - contents - Variable in class org.javimmutable.collections.listmap.HashListMap
- contents - Variable in class org.javimmutable.collections.listmap.OrderedListMap
- contents - Variable in class org.javimmutable.collections.listmap.TreeListMap
- contents - Variable in class org.javimmutable.collections.setmap.HashSetMap
- contents - Variable in class org.javimmutable.collections.setmap.OrderedSetMap
- contents - Variable in class org.javimmutable.collections.setmap.TemplateSetMap
- contents - Variable in class org.javimmutable.collections.setmap.TreeSetMap
- copied(List<? extends T>) - Static method in class org.javimmutable.collections.indexed.IndexedList
-
Produces an instance using a copy of the specified List to ensure that changes to the List will not influence the values returned by the instance's methods.
- copied(T[]) - Static method in class org.javimmutable.collections.indexed.IndexedArray
-
Produces an instance using a clone of the specified array to ensure that changes to the array will not influence the values returned by the instance's methods.
- copyList(IList<V>) - Method in class org.javimmutable.collections.listmap.HashListMap
-
Overridable by derived classes to create a compatible copy of the specified list.
- copyList(IList<V>) - Method in class org.javimmutable.collections.listmap.OrderedListMap
-
Overridable by derived classes to create a compatible copy of the specified list.
- copyList(IList<V>) - Method in class org.javimmutable.collections.listmap.TreeListMap
-
Overridable by derived classes to create a compatible copy of the specified list.
- copyToCompactArrayUsingBitmask(long, S[], D[], Function<S, D>) - Static method in class org.javimmutable.collections.common.BitmaskMath
- count(T) - Method in class org.javimmutable.collections.common.AbstractMultiset
- count(T) - Method in interface org.javimmutable.collections.IMultiset
-
Returns the number of occurrences associated with the specified value.
- create() - Method in class org.javimmutable.collections.setmap.SetMapFactory
- create(IMap<K, IList<V>>) - Method in class org.javimmutable.collections.listmap.HashListMap
- create(IMap<K, IList<V>>) - Method in class org.javimmutable.collections.listmap.OrderedListMap
- create(IMap<K, IList<V>>) - Method in class org.javimmutable.collections.listmap.TreeListMap
- create(IMap<K, ISet<V>>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- create(IMap<K, ISet<V>>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- create(IMap<K, ISet<V>>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- create(IMap<K, ISet<V>>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- create(IMap<T, Boolean>) - Method in class org.javimmutable.collections.common.AbstractSetUsingMap
-
Implemented by derived classes to create a new instance of the appropriate class.
- create(IMap<T, Boolean>) - Method in class org.javimmutable.collections.inorder.OrderedSet
- create(IMap<T, Boolean>) - Method in class org.javimmutable.collections.tree.TreeSet
- create(IMap<T, Integer>, int) - Method in class org.javimmutable.collections.common.AbstractMultiset
-
Implemented by derived classes to create a new instance of the appropriate class.
- create(IMap<T, Integer>, int) - Method in class org.javimmutable.collections.hash.HashMultiset
- create(IMap<T, Integer>, int) - Method in class org.javimmutable.collections.inorder.OrderedMultiset
- create(IMap<T, Integer>, int) - Method in class org.javimmutable.collections.tree.TreeMultiset
- createListCollector() - Static method in class org.javimmutable.collections.list.TreeList
- createMapCollector() - Static method in class org.javimmutable.collections.hash.HashMap
- createMapCollector() - Static method in class org.javimmutable.collections.inorder.OrderedMap
- createMapCollector() - Static method in class org.javimmutable.collections.tree.TreeMap
- createMapCollector(Comparator<K>) - Static method in class org.javimmutable.collections.tree.TreeMap
D
- d - Variable in class org.javimmutable.collections.Temp.Val4
- delete(int) - Method in class org.javimmutable.collections.array.TrieArray
- delete(int) - Method in class org.javimmutable.collections.array.TrieArrayNode
- delete(int) - Method in interface org.javimmutable.collections.IArray
-
Deletes the entry for the specified index (if any).
- delete(int) - Method in interface org.javimmutable.collections.IList
-
Delete value at index (which must be within the current bounds of the list).
- delete(int) - Method in class org.javimmutable.collections.list.TreeList
- delete(long) - Method in class org.javimmutable.collections.array.TrieLongArrayNode
- delete(K) - Method in class org.javimmutable.collections.hash.EmptyHashMap
- delete(K) - Method in class org.javimmutable.collections.hash.HashMap
- delete(K) - Method in interface org.javimmutable.collections.IListMap
-
Deletes the entry for the specified key (if any).
- delete(K) - Method in interface org.javimmutable.collections.IMap
-
Deletes the entry for the specified key (if any).
- delete(K) - Method in class org.javimmutable.collections.inorder.OrderedMap
- delete(K) - Method in interface org.javimmutable.collections.ISetMap
-
Deletes the entry for the specified key (if any).
- delete(K) - Method in class org.javimmutable.collections.listmap.HashListMap
- delete(K) - Method in class org.javimmutable.collections.listmap.OrderedListMap
- delete(K) - Method in class org.javimmutable.collections.listmap.TreeListMap
- delete(K) - Method in class org.javimmutable.collections.setmap.HashSetMap
- delete(K) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- delete(K) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- delete(K) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- delete(K) - Method in class org.javimmutable.collections.tree.TreeMap
- delete(K, V) - Method in interface org.javimmutable.collections.ISetMap
-
Deletes the specified value from the specified key's set.
- delete(K, V) - Method in class org.javimmutable.collections.setmap.HashSetMap
- delete(K, V) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- delete(K, V) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- delete(K, V) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- delete(ArrayHelper.Allocator<T>, T[], int) - Static method in class org.javimmutable.collections.common.ArrayHelper
-
Creates a copy of orig with one value deleted at index.
- delete(CollisionMap.Node, K) - Method in interface org.javimmutable.collections.common.CollisionMap
- delete(CollisionMap.Node, K) - Method in class org.javimmutable.collections.list.ListCollisionMap
- delete(CollisionMap.Node, K) - Method in class org.javimmutable.collections.tree.TreeCollisionMap
- delete(CollisionMap<K, V>, K) - Method in interface org.javimmutable.collections.hash.map.ArrayMapNode
- delete(CollisionMap<K, V>, K) - Method in class org.javimmutable.collections.hash.map.ArrayMultiValueMapNode
- delete(CollisionMap<K, V>, K) - Method in class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- delete(CollisionSet.Node, T) - Method in interface org.javimmutable.collections.common.CollisionSet
- delete(CollisionSet.Node, T) - Method in class org.javimmutable.collections.list.ListCollisionSet
- delete(CollisionSet.Node, T) - Method in class org.javimmutable.collections.tree.TreeCollisionSet
- delete(CollisionSet<T>, T) - Method in class org.javimmutable.collections.hash.set.ArrayMultiValueSetNode
- delete(CollisionSet<T>, T) - Method in interface org.javimmutable.collections.hash.set.ArraySetNode
- delete(CollisionSet<T>, T) - Method in class org.javimmutable.collections.hash.set.ArraySingleValueSetNode
- delete(T) - Method in class org.javimmutable.collections.common.AbstractMultiset
- delete(T) - Method in class org.javimmutable.collections.common.AbstractSetUsingMap
- delete(T) - Method in class org.javimmutable.collections.hash.EmptyHashSet
- delete(T) - Method in class org.javimmutable.collections.hash.HashSet
- delete(T) - Method in interface org.javimmutable.collections.IMultiset
-
Removes every occurrence of value from the multiset.
- delete(T) - Method in interface org.javimmutable.collections.ISet
-
Removes the value from the Set.
- deleteAll() - Method in class org.javimmutable.collections.array.TrieArray
- deleteAll() - Method in class org.javimmutable.collections.deque.ArrayDeque
- deleteAll() - Method in class org.javimmutable.collections.hash.EmptyHashMap
- deleteAll() - Method in class org.javimmutable.collections.hash.EmptyHashSet
- deleteAll() - Method in class org.javimmutable.collections.hash.HashMap
- deleteAll() - Method in class org.javimmutable.collections.hash.HashMultiset
- deleteAll() - Method in class org.javimmutable.collections.hash.HashSet
- deleteAll() - Method in interface org.javimmutable.collections.IArray
- deleteAll() - Method in interface org.javimmutable.collections.ICollection
- deleteAll() - Method in interface org.javimmutable.collections.IDeque
- deleteAll() - Method in interface org.javimmutable.collections.IList
- deleteAll() - Method in interface org.javimmutable.collections.IListMap
- deleteAll() - Method in interface org.javimmutable.collections.IMap
- deleteAll() - Method in interface org.javimmutable.collections.IMultiset
- deleteAll() - Method in class org.javimmutable.collections.inorder.OrderedMap
- deleteAll() - Method in class org.javimmutable.collections.inorder.OrderedMultiset
- deleteAll() - Method in class org.javimmutable.collections.inorder.OrderedSet
- deleteAll() - Method in interface org.javimmutable.collections.ISet
- deleteAll() - Method in interface org.javimmutable.collections.ISetMap
- deleteAll() - Method in class org.javimmutable.collections.list.TreeList
- deleteAll() - Method in class org.javimmutable.collections.listmap.HashListMap
- deleteAll() - Method in class org.javimmutable.collections.listmap.OrderedListMap
- deleteAll() - Method in class org.javimmutable.collections.listmap.TreeListMap
- deleteAll() - Method in class org.javimmutable.collections.setmap.HashSetMap
- deleteAll() - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- deleteAll() - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- deleteAll() - Method in class org.javimmutable.collections.setmap.TreeSetMap
- deleteAll() - Method in class org.javimmutable.collections.tree.TreeMap
- deleteAll() - Method in class org.javimmutable.collections.tree.TreeMultiset
- deleteAll() - Method in class org.javimmutable.collections.tree.TreeSet
- deleteAll(Iterable<? extends K>) - Method in interface org.javimmutable.collections.IListMap
-
Deletes the list for every key in keys.
- deleteAll(Iterable<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- deleteAll(Iterable<? extends T>) - Method in class org.javimmutable.collections.common.AbstractSet
- deleteAll(Iterable<? extends T>) - Method in class org.javimmutable.collections.hash.EmptyHashSet
- deleteAll(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Removes all occurrences of each value in other from the multiset.
- deleteAll(Iterable<? extends T>) - Method in interface org.javimmutable.collections.ISet
-
Removes all values of other from the Set.
- deleteAll(Iterator<? extends K>) - Method in interface org.javimmutable.collections.IListMap
-
Deletes the list for every key in keys.
- deleteAll(Iterator<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- deleteAll(Iterator<? extends T>) - Method in class org.javimmutable.collections.common.AbstractSetUsingMap
- deleteAll(Iterator<? extends T>) - Method in class org.javimmutable.collections.hash.EmptyHashSet
- deleteAll(Iterator<? extends T>) - Method in class org.javimmutable.collections.hash.HashSet
- deleteAll(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Removes all occurrences of each value in other from the multiset.
- deleteAll(Iterator<? extends T>) - Method in interface org.javimmutable.collections.ISet
-
Removes all values of other from the Set.
- deleteAll(K, Iterable<? extends V>) - Method in interface org.javimmutable.collections.ISetMap
-
Deletes the elements in other at the specified key.
- deleteAll(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- deleteAll(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- deleteAll(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- deleteAll(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- deleteAll(K, Iterator<? extends V>) - Method in interface org.javimmutable.collections.ISetMap
-
Deletes the elements in other at the specified key.
- deleteAll(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- deleteAll(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- deleteAll(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- deleteAll(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- deleteAllOccurrences(Iterable<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- deleteAllOccurrences(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Removes each occurrence in other from the multiset.
- deleteAllOccurrences(Iterator<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- deleteAllOccurrences(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Removes each occurrence in other from the multiset.
- deleteAllOccurrences(IMultiset<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- deleteAllOccurrences(IMultiset<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Removes each occurrence in other from the multiset.
- deleteFirst() - Method in class org.javimmutable.collections.deque.ArrayDeque
- deleteFirst() - Method in interface org.javimmutable.collections.IDeque
-
Removes the first value from the list and reduces size by 1.
- deleteFirst() - Method in interface org.javimmutable.collections.IList
-
Removes the first value from the list and reduces size by 1.
- deleteFirst() - Method in class org.javimmutable.collections.list.TreeList
- deleteLast() - Method in class org.javimmutable.collections.deque.ArrayDeque
- deleteLast() - Method in interface org.javimmutable.collections.IDeque
-
Removes the last value from the list and reduces size by 1.
- deleteLast() - Method in interface org.javimmutable.collections.IList
-
Removes the last value from the list and reduces size by 1.
- deleteLast() - Method in class org.javimmutable.collections.list.TreeList
- deleteOccurrence(T) - Method in class org.javimmutable.collections.common.AbstractMultiset
- deleteOccurrence(T) - Method in interface org.javimmutable.collections.IMultiset
-
Removes one occurrence of value from the multiset.
- deleteOccurrence(T, int) - Method in class org.javimmutable.collections.common.AbstractMultiset
- deleteOccurrence(T, int) - Method in interface org.javimmutable.collections.IMultiset
-
Removes count number of occurrences of value from the multiset.
- deque - Variable in class org.javimmutable.collections.serialization.ArrayDequeProxy
- dequeCollector() - Method in interface org.javimmutable.collections.IDeque
-
Returns a Collector that creates a list of the same type as this containing all of the collected values inserted after whatever starting values this already contained.
- DequeListAdaptor<T> - Class in org.javimmutable.collections.common
- DequeListAdaptor(IDeque<T>) - Constructor for class org.javimmutable.collections.common.DequeListAdaptor
- dual(K, V, K, V) - Method in interface org.javimmutable.collections.common.CollisionMap
- dual(K, V, K, V) - Method in class org.javimmutable.collections.list.ListCollisionMap
- dual(K, V, K, V) - Method in class org.javimmutable.collections.tree.TreeCollisionMap
- dual(T, T) - Method in interface org.javimmutable.collections.common.CollisionSet
- dual(T, T) - Method in class org.javimmutable.collections.list.ListCollisionSet
- dual(T, T) - Method in class org.javimmutable.collections.tree.TreeCollisionSet
E
- empty() - Static method in class org.javimmutable.collections.array.TrieArrayNode
- empty() - Static method in class org.javimmutable.collections.array.TrieLongArrayNode
- empty() - Method in interface org.javimmutable.collections.common.CollisionMap
- empty() - Method in interface org.javimmutable.collections.common.CollisionSet
- empty() - Static method in class org.javimmutable.collections.indexed.IndexedHelper
- empty() - Method in class org.javimmutable.collections.list.ListCollisionMap
- empty() - Method in class org.javimmutable.collections.list.ListCollisionSet
- empty() - Static method in class org.javimmutable.collections.Maybe
-
Returns a
Maybe
with no value. - empty() - Static method in class org.javimmutable.collections.NotNull
-
Returns a
NotNull
with no value. - empty() - Method in class org.javimmutable.collections.tree.TreeCollisionMap
- empty() - Method in class org.javimmutable.collections.tree.TreeCollisionSet
- EMPTY - Static variable in class org.javimmutable.collections.inorder.OrderedMap
- EmptyHashMap<K,
V> - Class in org.javimmutable.collections.hash -
Singleton implementation of
IMap
that contains no elements. - EmptyHashSet<T> - Class in org.javimmutable.collections.hash
- EmptyHashSet() - Constructor for class org.javimmutable.collections.hash.EmptyHashSet
- EmptyIterator<T> - Class in org.javimmutable.collections.iterators
- EmptyIterator() - Constructor for class org.javimmutable.collections.iterators.EmptyIterator
- emptyList - Variable in class org.javimmutable.collections.listmap.HashListMap
- emptyList - Variable in class org.javimmutable.collections.listmap.OrderedListMap
- emptyList - Variable in class org.javimmutable.collections.listmap.TreeListMap
- emptyMutableMap() - Method in class org.javimmutable.collections.common.AbstractMultiset
-
Implemented by derived classes to create a new empty mutable Map that operates in the same way as this multiset's underlying immutable Map.
- emptyMutableMap() - Method in class org.javimmutable.collections.hash.HashMultiset
- emptyMutableMap() - Method in class org.javimmutable.collections.inorder.OrderedMultiset
- emptyMutableMap() - Method in class org.javimmutable.collections.tree.TreeMultiset
- emptyMutableSet() - Method in class org.javimmutable.collections.common.AbstractSet
-
Implemented by derived classes to create a new empty Set
- emptyMutableSet() - Method in class org.javimmutable.collections.hash.EmptyHashSet
- emptyMutableSet() - Method in class org.javimmutable.collections.hash.HashSet
- emptyMutableSet() - Method in class org.javimmutable.collections.inorder.OrderedSet
- emptyMutableSet() - Method in class org.javimmutable.collections.tree.TreeSet
- emptySet - Variable in class org.javimmutable.collections.setmap.HashSetMap
- emptySet - Variable in class org.javimmutable.collections.setmap.OrderedSetMap
- emptySet - Variable in class org.javimmutable.collections.setmap.TemplateSetMap
- emptySet - Variable in class org.javimmutable.collections.setmap.TreeSetMap
- entries() - Method in class org.javimmutable.collections.array.TrieArrayNode
- entries() - Method in class org.javimmutable.collections.array.TrieLongArrayNode
- entries() - Method in class org.javimmutable.collections.common.AbstractMultiset
- entries() - Method in interface org.javimmutable.collections.IListMap
-
Creates an IStreamable to access all of the Map's entries.
- entries() - Method in interface org.javimmutable.collections.IMultiset
-
Stream iterates through each Entry, that contains a unique value and the count of occurrences.
- entries() - Method in interface org.javimmutable.collections.ISetMap
-
Creates an IStreamable to access all of the Map's entries.
- entries() - Method in class org.javimmutable.collections.listmap.HashListMap
- entries() - Method in class org.javimmutable.collections.listmap.OrderedListMap
- entries() - Method in class org.javimmutable.collections.listmap.TreeListMap
- entries() - Method in class org.javimmutable.collections.setmap.HashSetMap
- entries() - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- entries() - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- entries() - Method in class org.javimmutable.collections.setmap.TreeSetMap
- entries(CollisionMap<K, V>) - Method in interface org.javimmutable.collections.hash.map.ArrayMapNode
- entries(CollisionMap<K, V>) - Method in class org.javimmutable.collections.hash.map.ArrayMultiValueMapNode
- entries(CollisionMap<K, V>) - Method in class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- entry(K, V) - Static method in class org.javimmutable.collections.MapEntry
- entrySet() - Method in class org.javimmutable.collections.common.ArrayToMapAdaptor
- entrySet() - Method in class org.javimmutable.collections.common.MapAdaptor
- EntryStreamable<K,
V, - Class in org.javimmutable.collections.iteratorsC, D> - EntryStreamable(D) - Constructor for class org.javimmutable.collections.iterators.EntryStreamable
- equals(Object) - Method in class org.javimmutable.collections.array.TrieArray
- equals(Object) - Method in class org.javimmutable.collections.common.AbstractMap
- equals(Object) - Method in class org.javimmutable.collections.common.AbstractMultiset
- equals(Object) - Method in class org.javimmutable.collections.common.AbstractSet
- equals(Object) - Method in class org.javimmutable.collections.deque.ArrayDeque
- equals(Object) - Method in class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- equals(Object) - Method in class org.javimmutable.collections.list.TreeList
- equals(Object) - Method in class org.javimmutable.collections.listmap.HashListMap
- equals(Object) - Method in class org.javimmutable.collections.listmap.OrderedListMap
- equals(Object) - Method in class org.javimmutable.collections.listmap.TreeListMap
- equals(Object) - Method in class org.javimmutable.collections.MapEntry
- equals(Object) - Method in class org.javimmutable.collections.Result.Failure
- equals(Object) - Method in class org.javimmutable.collections.Result.Success
- equals(Object) - Method in class org.javimmutable.collections.setmap.HashSetMap
- equals(Object) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- equals(Object) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- equals(Object) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- equals(Object) - Method in class org.javimmutable.collections.SplitIterator
- equals(Object) - Method in class org.javimmutable.collections.tree.LeafNode
- equals(Object) - Method in class org.javimmutable.collections.tree.ComparableComparator
- equals(Object) - Method in class org.javimmutable.collections.Tuple2
- equals(Object) - Method in class org.javimmutable.collections.Tuple3
- equals(Object) - Method in class org.javimmutable.collections.Tuple4
- ExpectedOrderSorter<T> - Class in org.javimmutable.collections.common
-
Class intended for use in unit tests to simplify sorting collections based on a standard ordering.
- ExpectedOrderSorter(Iterator<T>) - Constructor for class org.javimmutable.collections.common.ExpectedOrderSorter
F
- factory() - Static method in class org.javimmutable.collections.ISetMaps
-
Creates a builder to build a custom
ISetMap
configuration from a base map and set type. - factory(Class<K>, Class<V>) - Static method in class org.javimmutable.collections.ISetMaps
-
Creates a builder to build a custom
ISetMap
configuration from a base map and set type. - failure(Exception) - Static method in class org.javimmutable.collections.Computation
-
Produce a
Computation
that simply throws an exception. - failure(Exception) - Static method in class org.javimmutable.collections.Result
-
Creates a failure
Result
containing the exception that was thrown. - find(int) - Method in class org.javimmutable.collections.array.TrieArray
- find(int) - Method in class org.javimmutable.collections.array.TrieArrayNode
- find(int) - Method in class org.javimmutable.collections.common.Subindexed
- find(int) - Method in class org.javimmutable.collections.deque.ArrayDeque
- find(int) - Method in interface org.javimmutable.collections.IArray
-
Return a Holder containing the value associated wth the index or an empty Holder if no value is associated with the index.
- find(int) - Method in interface org.javimmutable.collections.Indexed
-
Retrieves a Holder containing the (possibly null) value at the specified index if it exists.
- find(int) - Method in class org.javimmutable.collections.indexed.IndexedArray
- find(int) - Method in class org.javimmutable.collections.indexed.IndexedList
- find(int) - Method in class org.javimmutable.collections.list.TreeList
- find(Iterator<? extends T>, Func1<? super T, Boolean>) - Static method in class org.javimmutable.collections.util.Functions
-
Calls func for each value in iterator and passes it to func until func returns true.
- find(K) - Method in class org.javimmutable.collections.hash.EmptyHashMap
- find(K) - Method in class org.javimmutable.collections.hash.HashMap
- find(K) - Method in interface org.javimmutable.collections.IMap
-
Search for a value within the map and return a Holder indicating if the value was found and, if it was found, the value itself.
- find(K) - Method in class org.javimmutable.collections.inorder.OrderedMap
- find(K) - Method in class org.javimmutable.collections.listmap.HashListMap
- find(K) - Method in class org.javimmutable.collections.listmap.OrderedListMap
- find(K) - Method in class org.javimmutable.collections.listmap.TreeListMap
- find(K) - Method in interface org.javimmutable.collections.Mapped
-
Return a Holder containing the value associated wth the key or an empty Holder if no value is associated with the key.
- find(K) - Method in class org.javimmutable.collections.setmap.HashSetMap
- find(K) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- find(K) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- find(K) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- find(K) - Method in class org.javimmutable.collections.tree.TreeMap
- find(CollisionMap<K, V>, K) - Method in interface org.javimmutable.collections.hash.map.ArrayMapNode
- find(CollisionMap<K, V>, K) - Method in class org.javimmutable.collections.hash.map.ArrayMultiValueMapNode
- find(CollisionMap<K, V>, K) - Method in class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- find(T) - Method in interface org.javimmutable.collections.ISet
-
Returns a Holder containing the specified key if its contained in the set.
- findEntry(int) - Method in class org.javimmutable.collections.array.TrieArray
- findEntry(int) - Method in interface org.javimmutable.collections.IArray
-
Search for an Entry within the map and return a Holder indicating if the Entry was found and, if it was found, the Entry itself.
- findEntry(K) - Method in class org.javimmutable.collections.hash.EmptyHashMap
- findEntry(K) - Method in class org.javimmutable.collections.hash.HashMap
- findEntry(K) - Method in interface org.javimmutable.collections.IMap
-
Search for an Entry within the map and return a Holder indicating if the Entry was found and, if it was found, the Entry itself.
- findEntry(K) - Method in class org.javimmutable.collections.inorder.OrderedMap
- findEntry(K) - Method in class org.javimmutable.collections.tree.TreeMap
- findEntry(CollisionMap.Node, K) - Method in interface org.javimmutable.collections.common.CollisionMap
- findEntry(CollisionMap.Node, K) - Method in class org.javimmutable.collections.list.ListCollisionMap
- findEntry(CollisionMap.Node, K) - Method in class org.javimmutable.collections.tree.TreeCollisionMap
- findEntry(CollisionMap<K, V>, K) - Method in interface org.javimmutable.collections.hash.map.ArrayMapNode
- findEntry(CollisionMap<K, V>, K) - Method in class org.javimmutable.collections.hash.map.ArrayMultiValueMapNode
- findEntry(CollisionMap<K, V>, K) - Method in class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- findMaxCommonShift(int, int, int) - Static method in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- findMaxCommonShift(int, long, long) - Static method in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- findMaxShiftForHashCode(long) - Static method in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- findMinimumShiftForZeroBelowHashCode(int) - Static method in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- findMinimumShiftForZeroBelowHashCode(long) - Static method in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- findValue(CollisionMap.Node, K) - Method in interface org.javimmutable.collections.common.CollisionMap
- findValue(CollisionMap.Node, K) - Method in class org.javimmutable.collections.list.ListCollisionMap
- findValue(CollisionMap.Node, K) - Method in class org.javimmutable.collections.tree.TreeCollisionMap
- first(Iterable<? extends T>) - Static method in class org.javimmutable.collections.Maybe
-
Returns a
Maybe
containing the first value of the collection. - first(Iterable<? extends T>) - Static method in class org.javimmutable.collections.NotNull
-
Returns a
NotNull
containing the first value of the collection. - first(Iterable<? extends T>, Func1<? super T, Boolean>) - Static method in class org.javimmutable.collections.Maybe
-
Returns a
Maybe
containing the first value of the collection for which the predicate returns true. - first(Iterable<? extends T>, Func1<? super T, Boolean>) - Static method in class org.javimmutable.collections.NotNull
-
Returns a
NotNull
containing the first value of the collection for which the predicate returns true. - first(CollisionMap.Node) - Method in interface org.javimmutable.collections.common.CollisionMap
- first(CollisionMap.Node) - Method in class org.javimmutable.collections.list.ListCollisionMap
- first(CollisionMap.Node) - Method in class org.javimmutable.collections.tree.TreeCollisionMap
- first(CollisionSet.Node) - Method in interface org.javimmutable.collections.common.CollisionSet
- first(CollisionSet.Node) - Method in class org.javimmutable.collections.list.ListCollisionSet
- first(CollisionSet.Node) - Method in class org.javimmutable.collections.tree.TreeCollisionSet
- flatMap(Func0<Maybe<A>>, Func1<? super T, Maybe<A>>) - Method in class org.javimmutable.collections.Maybe
-
Produce a
Maybe
based on this one. - flatMap(Func0<Maybe<T>>) - Method in class org.javimmutable.collections.Maybe
-
Produce a
Maybe
based on this one. - flatMap(Func0<NotNull<A>>, Func1<? super T, NotNull<A>>) - Method in class org.javimmutable.collections.NotNull
-
Produce a
NotNull
based on this one. - flatMap(Func0<NotNull<T>>) - Method in class org.javimmutable.collections.NotNull
-
Produce a
NotNull
based on this one. - flatMap(Func1<? super T, Maybe<A>>) - Method in class org.javimmutable.collections.Maybe
-
Produce a
Maybe
based on this one. - flatMap(Func1<? super T, NotNull<A>>) - Method in class org.javimmutable.collections.NotNull
-
Produce a
NotNull
based on this one. - flatMap(Func1<T, Result<U>>) - Method in class org.javimmutable.collections.Result.Failure
- flatMap(Func1<T, Result<U>>) - Method in class org.javimmutable.collections.Result
-
Replaces our successful result with a new value computed using the provided function.
- flatMap(Func1<T, Result<U>>) - Method in class org.javimmutable.collections.Result.Success
- flatMap(Func1Throws<T, Computation<U>, ? super Exception>) - Method in class org.javimmutable.collections.Computation
-
Add a step to the computation that applies the function to the current value to produce a new computation.
- flatMapFailure(Func1Throws<Exception, Result<T>, Exception>) - Method in class org.javimmutable.collections.Result.Failure
- flatMapFailure(Func1Throws<Exception, Result<T>, Exception>) - Method in class org.javimmutable.collections.Result
-
Replaces our failure result with a new value computed using the provided function.
- flatMapFailure(Func1Throws<Exception, Result<T>, Exception>) - Method in class org.javimmutable.collections.Result.Success
- flatMapThrows(Func0Throws<Maybe<A>, E>, Func1Throws<? super T, Maybe<A>, E>) - Method in class org.javimmutable.collections.Maybe
-
Produce a
Maybe
based on this one. - flatMapThrows(Func0Throws<Maybe<T>, E>) - Method in class org.javimmutable.collections.Maybe
-
Produce a
Maybe
based on this one. - flatMapThrows(Func0Throws<NotNull<A>, E>, Func1Throws<? super T, NotNull<A>, E>) - Method in class org.javimmutable.collections.NotNull
-
Produce a
NotNull
based on this one. - flatMapThrows(Func0Throws<NotNull<T>, E>) - Method in class org.javimmutable.collections.NotNull
-
Produce a
NotNull
based on this one. - flatMapThrows(Func1Throws<? super T, Maybe<A>, E>) - Method in class org.javimmutable.collections.Maybe
-
Produce a
Maybe
based on this one. - flatMapThrows(Func1Throws<? super T, NotNull<A>, E>) - Method in class org.javimmutable.collections.NotNull
-
Produce a
NotNull
based on this one. - foldLeft(R, Iterator<? extends T>, Func2<R, ? super T, R>) - Static method in class org.javimmutable.collections.util.Functions
-
Calls func for every value in iterator passing in the accumulator and each value as parameters and setting accumulator to the result.
- foldRight(R, Iterator<? extends T>, Func2<R, ? super T, R>) - Static method in class org.javimmutable.collections.util.Functions
-
Calls func for every value in iterator from right to left (i.e.
- forEach(Iterable<A>, Iterable<B>, Proc2<A, B>) - Static method in class org.javimmutable.collections.util.Zip
- forEach(Consumer<? super IMapEntry<Integer, T>>) - Method in class org.javimmutable.collections.array.TrieArray
- forEach(Consumer<? super T>) - Method in class org.javimmutable.collections.hash.HashSet
- forEach(Consumer<? super T>) - Method in class org.javimmutable.collections.list.TreeList
- forEach(CollisionMap.Node, Proc2<K, V>) - Method in interface org.javimmutable.collections.common.CollisionMap
- forEach(CollisionMap.Node, Proc2<K, V>) - Method in class org.javimmutable.collections.list.ListCollisionMap
- forEach(CollisionMap.Node, Proc2<K, V>) - Method in class org.javimmutable.collections.tree.TreeCollisionMap
- forEach(CollisionMap<K, V>, Proc2<K, V>) - Method in interface org.javimmutable.collections.hash.map.ArrayMapNode
- forEach(CollisionMap<K, V>, Proc2<K, V>) - Method in class org.javimmutable.collections.hash.map.ArrayMultiValueMapNode
- forEach(CollisionMap<K, V>, Proc2<K, V>) - Method in class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- forEach(CollisionSet.Node, Proc1<T>) - Method in interface org.javimmutable.collections.common.CollisionSet
- forEach(CollisionSet.Node, Proc1<T>) - Method in class org.javimmutable.collections.list.ListCollisionSet
- forEach(CollisionSet.Node, Proc1<T>) - Method in class org.javimmutable.collections.tree.TreeCollisionSet
- forEach(CollisionSet<T>, Proc1<T>) - Method in class org.javimmutable.collections.hash.set.ArrayMultiValueSetNode
- forEach(CollisionSet<T>, Proc1<T>) - Method in interface org.javimmutable.collections.hash.set.ArraySetNode
- forEach(CollisionSet<T>, Proc1<T>) - Method in class org.javimmutable.collections.hash.set.ArraySingleValueSetNode
- forEach(IndexedProc1<T>) - Method in class org.javimmutable.collections.array.TrieArray
- forEach(IndexedProc1<T>) - Method in class org.javimmutable.collections.array.TrieArrayNode
- forEach(IndexedProc1<T>) - Method in interface org.javimmutable.collections.IArray
-
Visits every element in the array in order by index and passes the index and value to the provided lambda.
- forEach(Proc1<T>) - Method in class org.javimmutable.collections.array.TrieArrayNode
- forEach(Proc2<K, IList<V>>) - Method in interface org.javimmutable.collections.IListMap
-
Processes every key/list pair in this map using the provided function.
- forEach(Proc2<K, ISet<V>>) - Method in interface org.javimmutable.collections.ISetMap
-
Processes every key/set pair in this map using the provided function.
- forEach(Proc2<K, V>) - Method in class org.javimmutable.collections.hash.HashMap
- forEach(Proc2<K, V>) - Method in interface org.javimmutable.collections.IMap
-
Processes every key/value pair in this map using the provided function.
- forEach(Proc2<K, V>) - Method in class org.javimmutable.collections.tree.TreeMap
- forEachIndex(long, IntConsumer) - Static method in class org.javimmutable.collections.common.BitmaskMath
- forEachThrows(Iterable<A>, Iterable<B>, Proc2Throws<A, B, E>) - Static method in class org.javimmutable.collections.util.Zip
- forEachThrows(CollisionMap.Node, Proc2Throws<K, V, E>) - Method in interface org.javimmutable.collections.common.CollisionMap
- forEachThrows(CollisionMap.Node, Proc2Throws<K, V, E>) - Method in class org.javimmutable.collections.list.ListCollisionMap
- forEachThrows(CollisionMap.Node, Proc2Throws<K, V, E>) - Method in class org.javimmutable.collections.tree.TreeCollisionMap
- forEachThrows(CollisionMap<K, V>, Proc2Throws<K, V, E>) - Method in interface org.javimmutable.collections.hash.map.ArrayMapNode
- forEachThrows(CollisionMap<K, V>, Proc2Throws<K, V, E>) - Method in class org.javimmutable.collections.hash.map.ArrayMultiValueMapNode
- forEachThrows(CollisionMap<K, V>, Proc2Throws<K, V, E>) - Method in class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- forEachThrows(CollisionSet.Node, Proc1Throws<T, E>) - Method in interface org.javimmutable.collections.common.CollisionSet
- forEachThrows(CollisionSet.Node, Proc1Throws<T, E>) - Method in class org.javimmutable.collections.list.ListCollisionSet
- forEachThrows(CollisionSet.Node, Proc1Throws<T, E>) - Method in class org.javimmutable.collections.tree.TreeCollisionSet
- forEachThrows(CollisionSet<T>, Proc1Throws<T, E>) - Method in class org.javimmutable.collections.hash.set.ArrayMultiValueSetNode
- forEachThrows(CollisionSet<T>, Proc1Throws<T, E>) - Method in interface org.javimmutable.collections.hash.set.ArraySetNode
- forEachThrows(CollisionSet<T>, Proc1Throws<T, E>) - Method in class org.javimmutable.collections.hash.set.ArraySingleValueSetNode
- forEachThrows(IndexedProc1Throws<T, E>) - Method in class org.javimmutable.collections.array.TrieArray
- forEachThrows(IndexedProc1Throws<T, E>) - Method in class org.javimmutable.collections.array.TrieArrayNode
- forEachThrows(IndexedProc1Throws<T, E>) - Method in interface org.javimmutable.collections.IArray
-
Visits every element in the array in order by index and passes the index and value to the provided lambda.
- forEachThrows(Proc1Throws<IMapEntry<Integer, T>, E>) - Method in class org.javimmutable.collections.array.TrieArray
- forEachThrows(Proc1Throws<T, E>) - Method in class org.javimmutable.collections.array.TrieArrayNode
- forEachThrows(Proc1Throws<T, E>) - Method in class org.javimmutable.collections.hash.HashSet
- forEachThrows(Proc1Throws<T, E>) - Method in class org.javimmutable.collections.list.TreeList
- forEachThrows(Proc1Throws<T, E>) - Method in interface org.javimmutable.collections.SplitableIterable
-
Processes every value using the provided function.
- forEachThrows(Proc2Throws<K, IList<V>, E>) - Method in interface org.javimmutable.collections.IListMap
-
Processes every key/list pair in this map using the provided function.
- forEachThrows(Proc2Throws<K, ISet<V>, E>) - Method in interface org.javimmutable.collections.ISetMap
-
Processes every key/set pair in this map using the provided function.
- forEachThrows(Proc2Throws<K, V, E>) - Method in class org.javimmutable.collections.hash.HashMap
- forEachThrows(Proc2Throws<K, V, E>) - Method in interface org.javimmutable.collections.IMap
-
Processes every key/value pair in this map using the provided function.
- forEachThrows(Proc2Throws<K, V, E>) - Method in class org.javimmutable.collections.tree.TreeMap
- forKey(K) - Static method in class org.javimmutable.collections.hash.HashMap
-
Returns an empty map using the appropriate collision handling strategy for the given key's class.
- forRange(int, int) - Static method in class org.javimmutable.collections.iterators.IndexedIterator
- forward(Indexed<T>) - Static method in class org.javimmutable.collections.iterators.IndexedIterator
- Func0<T> - Interface in org.javimmutable.collections
-
Interface for functions that take no arguments and return a value of type T.
- Func0Throws<T,
E> - Interface in org.javimmutable.collections -
Interface for functions that take no arguments and return a value of type T and might throw an exception.
- Func1<P,
R> - Interface in org.javimmutable.collections -
Interface for functions that take a single parameter.
- Func1Throws<P,
R, - Interface in org.javimmutable.collectionsE> -
Interface for functions that take a single parameter and might throw an exception.
- Func2<P1,
P2, - Interface in org.javimmutable.collectionsR> -
Interface for functions that take two parameters.
- Func2Throws<P1,
P2, - Interface in org.javimmutable.collectionsR, E> -
Interface for functions that take two parameters and might throw an exception.
- Func3<P1,
P2, - Interface in org.javimmutable.collectionsP3, R> -
Interface for functions that take three parameters.
- Func3Throws<P1,
P2, - Interface in org.javimmutable.collectionsP3, R, E> -
Interface for functions that take three parameters and might throw an exception.
- Func4<P1,
P2, - Interface in org.javimmutable.collectionsP3, P4, R> -
Interface for functions that take four parameters.
- Func4Throws<P1,
P2, - Interface in org.javimmutable.collectionsP3, P4, R, E> -
Interface for functions that take four parameters and might throw an exception.
- Functions - Class in org.javimmutable.collections.util
-
Library of static functions that perform various operations on Iterators.
- fwd(Indexed<T>) - Static method in class org.javimmutable.collections.iterators.IndexedIterator
G
- GenericCollector - Class in org.javimmutable.collections
- genericIterable(CollisionMap.Node) - Method in interface org.javimmutable.collections.common.CollisionMap
- genericIterable(CollisionSet.Node) - Method in interface org.javimmutable.collections.common.CollisionSet
- GenericIterator<T> - Class in org.javimmutable.collections.iterators
-
A mutable class implementing the SplitableIterator interface in a reusable way.
- GenericIterator(GenericIterator.Iterable<T>, int, int) - Constructor for class org.javimmutable.collections.iterators.GenericIterator
- GenericIterator.Iterable<T> - Interface in org.javimmutable.collections.iterators
-
Interface for collections that can be iterated over by GenericIterator using State objects to track the progress of the iteration.
- GenericIterator.State<T> - Interface in org.javimmutable.collections.iterators
-
Interface for objects that track the current position of an iteration in progress.
- GenericSetBuilder<T> - Class in org.javimmutable.collections.common
- GenericSetBuilder(IMapBuilder<T, Boolean>, Func1<IMap<T, Boolean>, ISet<T>>) - Constructor for class org.javimmutable.collections.common.GenericSetBuilder
- get() - Method in class org.javimmutable.collections.Result.Failure
- get() - Method in class org.javimmutable.collections.Result
-
Gets the value or throws the exception.
- get() - Method in class org.javimmutable.collections.Result.Success
- get(int) - Method in class org.javimmutable.collections.array.TrieArray
- get(int) - Method in class org.javimmutable.collections.common.DequeListAdaptor
- get(int) - Method in class org.javimmutable.collections.common.ListAdaptor
- get(int) - Method in class org.javimmutable.collections.common.Subindexed
- get(int) - Method in class org.javimmutable.collections.deque.ArrayDeque
- get(int) - Method in interface org.javimmutable.collections.IArray
-
Return the value associated with index or null if no value is associated.
- get(int) - Method in interface org.javimmutable.collections.IDeque
-
Retrieves the value at the specified index (which must be within the bounds of the list).
- get(int) - Method in interface org.javimmutable.collections.Indexed
-
Retrieve the value.
- get(int) - Method in class org.javimmutable.collections.indexed.IndexedArray
- get(int) - Method in class org.javimmutable.collections.indexed.IndexedList
- get(int) - Method in class org.javimmutable.collections.list.TreeList
- get(Object) - Method in class org.javimmutable.collections.common.ArrayToMapAdaptor
- get(Object) - Method in class org.javimmutable.collections.common.MapAdaptor
- get(K) - Method in class org.javimmutable.collections.common.AbstractMap
- get(K) - Method in class org.javimmutable.collections.listmap.HashListMap
- get(K) - Method in class org.javimmutable.collections.listmap.OrderedListMap
- get(K) - Method in class org.javimmutable.collections.listmap.TreeListMap
- get(K) - Method in interface org.javimmutable.collections.Mapped
-
Return the value associated with key or null if no value is associated.
- get(K) - Method in class org.javimmutable.collections.setmap.HashSetMap
- get(K) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- get(K) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- get(K) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- get(T) - Method in interface org.javimmutable.collections.ISet
-
Returns the specified key if its contained in the set.
- get(T) - Method in class org.javimmutable.collections.Maybe
-
Gets this value.
- get(T) - Method in class org.javimmutable.collections.NotNull
-
Gets this value.
- getComparator() - Method in class org.javimmutable.collections.listmap.TreeListMap
- getComparator() - Method in class org.javimmutable.collections.setmap.TreeSetMap
- getComparator() - Method in class org.javimmutable.collections.tree.TreeMap
- getComparator() - Method in class org.javimmutable.collections.tree.TreeMultiset
- getComparator() - Method in class org.javimmutable.collections.tree.TreeSet
- getEmptyMap() - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- getEmptySet() - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- getFirst() - Method in class org.javimmutable.collections.Tuple2
- getFirst() - Method in class org.javimmutable.collections.Tuple3
- getFirst() - Method in class org.javimmutable.collections.Tuple4
- getFourth() - Method in class org.javimmutable.collections.Tuple4
- getKey() - Method in class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- getKey() - Method in interface org.javimmutable.collections.IMapEntry
- getKey() - Method in class org.javimmutable.collections.MapEntry
- getLeft() - Method in class org.javimmutable.collections.SplitIterator
- getList() - Method in class org.javimmutable.collections.deque.ArrayDeque
- getList() - Method in interface org.javimmutable.collections.IDeque
-
Returns an unmodifiable List implementation backed by this list.
- getList() - Method in class org.javimmutable.collections.list.TreeList
- getList(K) - Method in interface org.javimmutable.collections.IListMap
-
Return the list associated with key or an empty list if no list is associated.
- getList(K) - Method in class org.javimmutable.collections.listmap.HashListMap
- getList(K) - Method in class org.javimmutable.collections.listmap.OrderedListMap
- getList(K) - Method in class org.javimmutable.collections.listmap.TreeListMap
- getMap() - Method in class org.javimmutable.collections.array.TrieArray
- getMap() - Method in class org.javimmutable.collections.common.AbstractMap
- getMap() - Method in interface org.javimmutable.collections.IArray
-
Creates an unmodifiable java.util.Map reflecting the values of the
IMap
backing the array. - getMap() - Method in interface org.javimmutable.collections.IMap
-
Creates an unmodifiable java.util.Map reflecting the values of this
IMap
. - getNextIndex() - Method in class org.javimmutable.collections.array.TrieArrayBuilder
- getOr(Func0<? extends T>) - Method in class org.javimmutable.collections.Maybe
-
Gets this value.
- getOr(Func0<? extends T>) - Method in class org.javimmutable.collections.NotNull
-
Gets this value.
- getOrNull() - Method in class org.javimmutable.collections.Maybe
-
Gets this value.
- getOrNull() - Method in class org.javimmutable.collections.NotNull
-
Gets this value.
- getRight() - Method in class org.javimmutable.collections.SplitIterator
- getSecond() - Method in class org.javimmutable.collections.Tuple2
- getSecond() - Method in class org.javimmutable.collections.Tuple3
- getSecond() - Method in class org.javimmutable.collections.Tuple4
- getSet() - Method in class org.javimmutable.collections.common.AbstractMultiset
- getSet() - Method in class org.javimmutable.collections.common.AbstractSet
- getSet() - Method in interface org.javimmutable.collections.ISet
- getSet(K) - Method in interface org.javimmutable.collections.ISetMap
-
Return the set associated with key, or an empty set if no list is associated.
- getSet(K) - Method in class org.javimmutable.collections.setmap.HashSetMap
- getSet(K) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- getSet(K) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- getSet(K) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.array.TrieArray
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.common.AbstractMap
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.common.AbstractMultiset
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.common.AbstractSetUsingMap
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.deque.ArrayDeque
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.hash.EmptyHashMap
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.hash.EmptyHashSet
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.hash.HashSet
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.inorder.OrderedMap
- getSpliteratorCharacteristics() - Method in interface org.javimmutable.collections.IStreamable
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.iterators.EntryStreamable
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.iterators.TransformStreamable
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.list.TreeList
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.listmap.HashListMap
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.listmap.OrderedListMap
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.listmap.TreeListMap
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.setmap.HashSetMap
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.setmap.TreeSetMap
- getSpliteratorCharacteristics() - Method in class org.javimmutable.collections.tree.TreeMap
- getThird() - Method in class org.javimmutable.collections.Tuple3
- getThird() - Method in class org.javimmutable.collections.Tuple4
- getValue() - Method in class org.javimmutable.collections.common.MutableDelta
- getValue() - Method in class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- getValue() - Method in interface org.javimmutable.collections.IMapEntry
- getValue() - Method in class org.javimmutable.collections.MapEntry
- getValueOr(int, T) - Method in class org.javimmutable.collections.array.TrieArray
- getValueOr(int, T) - Method in class org.javimmutable.collections.array.TrieArrayNode
- getValueOr(int, T) - Method in interface org.javimmutable.collections.IArray
-
Return the value associated with index or defaultValue if no value is associated.
- getValueOr(long, T) - Method in class org.javimmutable.collections.array.TrieLongArrayNode
- getValueOr(K, IList<V>) - Method in class org.javimmutable.collections.listmap.HashListMap
- getValueOr(K, IList<V>) - Method in class org.javimmutable.collections.listmap.OrderedListMap
- getValueOr(K, IList<V>) - Method in class org.javimmutable.collections.listmap.TreeListMap
- getValueOr(K, ISet<V>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- getValueOr(K, ISet<V>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- getValueOr(K, ISet<V>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- getValueOr(K, ISet<V>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- getValueOr(K, V) - Method in class org.javimmutable.collections.hash.EmptyHashMap
- getValueOr(K, V) - Method in class org.javimmutable.collections.hash.HashMap
- getValueOr(K, V) - Method in class org.javimmutable.collections.inorder.OrderedMap
- getValueOr(K, V) - Method in interface org.javimmutable.collections.Mapped
-
Return the value associated with key or defaultValue if no value is associated.
- getValueOr(K, V) - Method in class org.javimmutable.collections.tree.TreeMap
- getValueOr(CollisionMap.Node, K, V) - Method in interface org.javimmutable.collections.common.CollisionMap
- getValueOr(CollisionMap.Node, K, V) - Method in class org.javimmutable.collections.list.ListCollisionMap
- getValueOr(CollisionMap.Node, K, V) - Method in class org.javimmutable.collections.tree.TreeCollisionMap
- getValueOr(CollisionMap<K, V>, K, V) - Method in interface org.javimmutable.collections.hash.map.ArrayMapNode
- getValueOr(CollisionMap<K, V>, K, V) - Method in class org.javimmutable.collections.hash.map.ArrayMultiValueMapNode
- getValueOr(CollisionMap<K, V>, K, V) - Method in class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- getValueOr(T, T) - Method in interface org.javimmutable.collections.ISet
-
Returns the specified key if its contained in the set.
- groupingBy(Function<? super T, ? extends K>) - Static method in class org.javimmutable.collections.ICollectors
-
Collects values into a hashed
IListMap
using the specified classifier function to generate keys from the encountered elements.
H
- hash(int...) - Static method in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- hash(int, int, int, int, int, int) - Static method in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- hashCode() - Method in class org.javimmutable.collections.array.TrieArray
- hashCode() - Method in class org.javimmutable.collections.common.AbstractMap
- hashCode() - Method in class org.javimmutable.collections.common.AbstractMultiset
- hashCode() - Method in class org.javimmutable.collections.common.AbstractSet
- hashCode() - Method in class org.javimmutable.collections.deque.ArrayDeque
- hashCode() - Method in class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- hashCode() - Method in class org.javimmutable.collections.list.TreeList
- hashCode() - Method in class org.javimmutable.collections.listmap.HashListMap
- hashCode() - Method in class org.javimmutable.collections.listmap.OrderedListMap
- hashCode() - Method in class org.javimmutable.collections.listmap.TreeListMap
- hashCode() - Method in class org.javimmutable.collections.MapEntry
- hashCode() - Method in class org.javimmutable.collections.Result.Failure
- hashCode() - Method in class org.javimmutable.collections.Result.Success
- hashCode() - Method in class org.javimmutable.collections.setmap.HashSetMap
- hashCode() - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- hashCode() - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- hashCode() - Method in class org.javimmutable.collections.setmap.TreeSetMap
- hashCode() - Method in class org.javimmutable.collections.SplitIterator
- hashCode() - Method in class org.javimmutable.collections.tree.LeafNode
- hashCode() - Method in class org.javimmutable.collections.tree.ComparableComparator
- hashCode() - Method in class org.javimmutable.collections.Tuple2
- hashCode() - Method in class org.javimmutable.collections.Tuple3
- hashCode() - Method in class org.javimmutable.collections.Tuple4
- hashCodeBelowShift(int, int) - Static method in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- hashCodeBelowShift(int, long) - Static method in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- hashed() - Static method in class org.javimmutable.collections.IListMaps
-
Creates a list map with higher performance but no specific ordering of keys.
- hashed() - Static method in class org.javimmutable.collections.IMaps
-
Constructs an empty unsorted map.
- hashed() - Static method in class org.javimmutable.collections.IMultisets
-
Constructs an unsorted multiset.
- hashed() - Static method in class org.javimmutable.collections.ISetMaps
-
Creates a set map with higher performance but no specific ordering of keys.
- hashed() - Static method in class org.javimmutable.collections.ISets
-
Constructs an unsorted set.
- hashed(Iterable<? extends T>) - Static method in class org.javimmutable.collections.IMultisets
-
Constructs an unsorted multiset containing the values from source.
- hashed(Iterable<? extends T>) - Static method in class org.javimmutable.collections.ISets
-
Constructs an unsorted set containing the values from source.
- hashed(Iterator<? extends T>) - Static method in class org.javimmutable.collections.IMultisets
-
Constructs an unsorted multiset containing the values from source.
- hashed(Iterator<? extends T>) - Static method in class org.javimmutable.collections.ISets
-
Constructs an unsorted set containing the values from source.
- hashed(Map<K, V>) - Static method in class org.javimmutable.collections.IMaps
-
Constructs an unsorted map.
- hashed(IMap<K, V>) - Static method in class org.javimmutable.collections.IMaps
-
Constructs an unsorted map.
- hashed(T...) - Static method in class org.javimmutable.collections.IMultisets
-
Constructs an unsorted multiset containing the values from source.
- hashed(T...) - Static method in class org.javimmutable.collections.ISets
-
Constructs an unsorted set containing the values from source.
- hashedBuilder() - Static method in class org.javimmutable.collections.IMaps
-
Constructs a Builder to produce unsorted maps.
- hashedBuilder() - Static method in class org.javimmutable.collections.ISets
-
Constructs Builder object to produce unsorted sets.
- HashListMap<K,
V> - Class in org.javimmutable.collections.listmap -
IListMap
using a hash map for fast lookup. - HashListMapProxy - Class in org.javimmutable.collections.serialization
-
Serialization proxy class to safely serialize immutable collection.
- HashListMapProxy() - Constructor for class org.javimmutable.collections.serialization.HashListMapProxy
- HashListMapProxy(HashListMap) - Constructor for class org.javimmutable.collections.serialization.HashListMapProxy
- HashMap<T,
K, - Class in org.javimmutable.collections.hashV> - HashMap.Builder<K,
V> - Class in org.javimmutable.collections.hash - HashMapProxy - Class in org.javimmutable.collections.serialization
-
Serialization proxy class to safely serialize immutable collection.
- HashMapProxy() - Constructor for class org.javimmutable.collections.serialization.HashMapProxy
- HashMapProxy(EmptyHashMap) - Constructor for class org.javimmutable.collections.serialization.HashMapProxy
- HashMapProxy(HashMap) - Constructor for class org.javimmutable.collections.serialization.HashMapProxy
- HashMultiset<T> - Class in org.javimmutable.collections.hash
- HashMultisetProxy - Class in org.javimmutable.collections.serialization
-
Serialization proxy class to safely serialize immutable collection.
- HashMultisetProxy() - Constructor for class org.javimmutable.collections.serialization.HashMultisetProxy
- HashMultisetProxy(HashMultiset) - Constructor for class org.javimmutable.collections.serialization.HashMultisetProxy
- HashSet<T> - Class in org.javimmutable.collections.hash
- HashSetMap<K,
V> - Class in org.javimmutable.collections.setmap -
ISetMap
using a hash map for fast lookup. - HashSetMapProxy - Class in org.javimmutable.collections.serialization
-
Serialization proxy class to safely serialize immutable collection.
- HashSetMapProxy() - Constructor for class org.javimmutable.collections.serialization.HashSetMapProxy
- HashSetMapProxy(HashSetMap) - Constructor for class org.javimmutable.collections.serialization.HashSetMapProxy
- HashSetProxy - Class in org.javimmutable.collections.serialization
- HashSetProxy() - Constructor for class org.javimmutable.collections.serialization.HashSetProxy
- HashSetProxy(HashSet) - Constructor for class org.javimmutable.collections.serialization.HashSetProxy
- hashString(int) - Static method in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- hashString(long) - Static method in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- hasNext() - Method in class org.javimmutable.collections.iterators.EmptyIterator
- hasNext() - Method in class org.javimmutable.collections.iterators.GenericIterator
- hasNext() - Method in class org.javimmutable.collections.iterators.LazyMultiIterator
- hasNext() - Method in class org.javimmutable.collections.iterators.SimpleTransformIterator
- hasNext() - Method in class org.javimmutable.collections.iterators.SingleValueIterator
- hasNext() - Method in class org.javimmutable.collections.iterators.TransformIterator
- hasValue() - Method in interface org.javimmutable.collections.iterators.GenericIterator.State
I
- IArray<T> - Interface in org.javimmutable.collections
-
Immutable sparse array implementation using integers as keys.
- IArrayBuilder<T> - Interface in org.javimmutable.collections
- IArrays - Class in org.javimmutable.collections
- ICollection<T> - Interface in org.javimmutable.collections
- ICollectors - Class in org.javimmutable.collections
- IDeque<T> - Interface in org.javimmutable.collections
-
Interface for containers that store items in list form with individual items available for get() and assign() using their indexes.
- IDequeBuilder<T> - Interface in org.javimmutable.collections
- IDeques - Class in org.javimmutable.collections
- IList<T> - Interface in org.javimmutable.collections
-
Interface for containers that store items in list form with individual items available for get() and assign() using their indexes.
- IListBuilder<T> - Interface in org.javimmutable.collections
- IListMap<K,
V> - Interface in org.javimmutable.collections -
Interface for maps that map keys to lists of values.
- IListMaps - Class in org.javimmutable.collections
- ILists - Class in org.javimmutable.collections
- IMap<K,
V> - Interface in org.javimmutable.collections -
Interface for immutable data structures that allow storage and retrieval of key/value pairs.
- IMapBuilder<K,
V> - Interface in org.javimmutable.collections - IMapEntry<K,
V> - Interface in org.javimmutable.collections -
An immutable entry in the map.
- IMaps - Class in org.javimmutable.collections
- IMultiset<T> - Interface in org.javimmutable.collections
-
Keeps a set of distinct values, as well as the count corresponding to each value.
- IMultisets - Class in org.javimmutable.collections
- indexAtShift(int, int) - Static method in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- indexAtShift(int, long) - Static method in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- indexed(V) - Static method in class org.javimmutable.collections.indexed.IndexedHelper
-
Returns an Indexed containing a single value.
- indexed(V, V) - Static method in class org.javimmutable.collections.indexed.IndexedHelper
-
Returns an Indexed containing two values.
- indexed(V, V, V) - Static method in class org.javimmutable.collections.indexed.IndexedHelper
-
Returns an Indexed containing three values.
- indexed(V, V, V, V...) - Static method in class org.javimmutable.collections.indexed.IndexedHelper
-
Returns an Indexed containing three values.
- Indexed<T> - Interface in org.javimmutable.collections
-
Interface for containers that allow access to values by an integer index.
- IndexedArray<T> - Class in org.javimmutable.collections.indexed
-
Indexed implementation backed by a java array.
- indexedForEach(IndexedProc1<T>) - Method in interface org.javimmutable.collections.SplitableIterable
-
Version of forEach that includes an integer index along with each value.
- indexedForEachThrows(IndexedProc1Throws<T, E>) - Method in interface org.javimmutable.collections.SplitableIterable
-
Version of forEachThrows that includes an integer index along with each value.
- IndexedHelper - Class in org.javimmutable.collections.indexed
-
Provides a number of static utility methods for producing Indexed objects from raw values.
- IndexedIterator - Class in org.javimmutable.collections.iterators
- IndexedList<T> - Class in org.javimmutable.collections.indexed
- IndexedProc1<A> - Interface in org.javimmutable.collections
-
Interface for lambdas that accept an integer index plus 1 parameter and return nothing.
- IndexedProc1Throws<A,
E> - Interface in org.javimmutable.collections -
Interface for lambdas that accept an integer index plus 1 parameter and return nothing but might throw an exception.
- indexForBit(long) - Static method in class org.javimmutable.collections.common.BitmaskMath
- indexFromHashCode(int) - Static method in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- indexFromHashCode(long) - Static method in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- indices(long) - Static method in class org.javimmutable.collections.common.BitmaskMath
- insert(int, T) - Method in interface org.javimmutable.collections.IList
-
Insert value at index (which must be within 0 to size).
- insert(int, T) - Method in class org.javimmutable.collections.list.TreeList
- insert(K, V) - Method in interface org.javimmutable.collections.IListMap
-
Add value to the list for the specified key.
- insert(K, V) - Method in interface org.javimmutable.collections.ISetMap
-
Add value to the Set for the specified key.
- insert(K, V) - Method in class org.javimmutable.collections.listmap.HashListMap
- insert(K, V) - Method in class org.javimmutable.collections.listmap.OrderedListMap
- insert(K, V) - Method in class org.javimmutable.collections.listmap.TreeListMap
- insert(K, V) - Method in class org.javimmutable.collections.setmap.HashSetMap
- insert(K, V) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- insert(K, V) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- insert(K, V) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- insert(ArrayHelper.Allocator<T>, T[], int, T) - Static method in class org.javimmutable.collections.common.ArrayHelper
-
Creates a copy of orig with one extra value inserted at index.
- insert(CollisionSet.Node, T) - Method in interface org.javimmutable.collections.common.CollisionSet
- insert(CollisionSet.Node, T) - Method in class org.javimmutable.collections.list.ListCollisionSet
- insert(CollisionSet.Node, T) - Method in class org.javimmutable.collections.tree.TreeCollisionSet
- insert(CollisionSet<T>, T) - Method in class org.javimmutable.collections.hash.set.ArrayMultiValueSetNode
- insert(CollisionSet<T>, T) - Method in interface org.javimmutable.collections.hash.set.ArraySetNode
- insert(CollisionSet<T>, T) - Method in class org.javimmutable.collections.hash.set.ArraySingleValueSetNode
- insert(IMapEntry<Integer, T>) - Method in class org.javimmutable.collections.array.TrieArray
- insert(IMapEntry<Integer, T>) - Method in interface org.javimmutable.collections.IArray
- insert(IMapEntry<K, IList<V>>) - Method in interface org.javimmutable.collections.IListMap
-
Add key/value entry to the map, replacing any existing entry with same key.
- insert(IMapEntry<K, IList<V>>) - Method in class org.javimmutable.collections.listmap.HashListMap
- insert(IMapEntry<K, IList<V>>) - Method in class org.javimmutable.collections.listmap.OrderedListMap
- insert(IMapEntry<K, IList<V>>) - Method in class org.javimmutable.collections.listmap.TreeListMap
- insert(IMapEntry<K, ISet<V>>) - Method in interface org.javimmutable.collections.ISetMap
-
Add value to the Set for the specified key.
- insert(IMapEntry<K, ISet<V>>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- insert(IMapEntry<K, ISet<V>>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- insert(IMapEntry<K, ISet<V>>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- insert(IMapEntry<K, ISet<V>>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- insert(IMapEntry<K, V>) - Method in class org.javimmutable.collections.common.AbstractMap
-
Adds the key/value pair to this map.
- insert(IMapEntry<K, V>) - Method in interface org.javimmutable.collections.IMap
-
Add key/value entry to the map, replacing any existing entry with same key.
- insert(T) - Method in class org.javimmutable.collections.common.AbstractMultiset
- insert(T) - Method in class org.javimmutable.collections.common.AbstractSetUsingMap
- insert(T) - Method in class org.javimmutable.collections.deque.ArrayDeque
- insert(T) - Method in class org.javimmutable.collections.hash.EmptyHashSet
- insert(T) - Method in class org.javimmutable.collections.hash.HashSet
- insert(T) - Method in interface org.javimmutable.collections.ICollection
-
Add value to the container in some manner appropriate to the implementation.
- insert(T) - Method in interface org.javimmutable.collections.IDeque
-
Adds a value to the end of the list.
- insert(T) - Method in interface org.javimmutable.collections.IList
-
Adds a value to the end of the list.
- insert(T) - Method in interface org.javimmutable.collections.IMultiset
-
Adds one occurrence of value to the multiset.
- insert(T) - Method in interface org.javimmutable.collections.ISet
-
Adds the single value to the Set.
- insert(T) - Method in class org.javimmutable.collections.list.TreeList
- insert(T, int) - Method in class org.javimmutable.collections.common.AbstractMultiset
- insert(T, int) - Method in interface org.javimmutable.collections.IMultiset
-
Adds count number of occurrences of value to the multiset.
- insertAll(int, Iterable<? extends T>) - Method in interface org.javimmutable.collections.IList
-
Inserts all elements at index (which must be within 0 to size) in the same order they appear in the Iterable.
- insertAll(int, Iterable<? extends T>) - Method in class org.javimmutable.collections.list.TreeList
- insertAll(int, Iterator<? extends T>) - Method in interface org.javimmutable.collections.IList
-
Inserts all elements at index (which must be within 0 to size) in the same order they appear in the Iterable.
- insertAll(int, Iterator<? extends T>) - Method in class org.javimmutable.collections.list.TreeList
- insertAll(Iterable<? extends IMapEntry<Integer, T>>) - Method in class org.javimmutable.collections.array.TrieArray
- insertAll(Iterable<? extends IMapEntry<Integer, T>>) - Method in interface org.javimmutable.collections.IArray
- insertAll(Iterable<? extends IMapEntry<K, IList<V>>>) - Method in interface org.javimmutable.collections.IListMap
- insertAll(Iterable<? extends IMapEntry<K, ISet<V>>>) - Method in interface org.javimmutable.collections.ISetMap
- insertAll(Iterable<? extends IMapEntry<K, V>>) - Method in interface org.javimmutable.collections.IMap
-
Adds the values to the end of the list in the same order they appear in the Iterable.
- insertAll(Iterable<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- insertAll(Iterable<? extends T>) - Method in class org.javimmutable.collections.common.AbstractSet
- insertAll(Iterable<? extends T>) - Method in class org.javimmutable.collections.deque.ArrayDeque
- insertAll(Iterable<? extends T>) - Method in interface org.javimmutable.collections.ICollection
-
Add all values to the container in some manner appropriate to the implementation.
- insertAll(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IDeque
-
Adds the values to the end of the list in the same order they appear in the Iterable.
- insertAll(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IList
-
Adds the values to the end of the list in the same order they appear in the Iterable.
- insertAll(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Adds each occurrence in values to the multiset.
- insertAll(Iterable<? extends T>) - Method in interface org.javimmutable.collections.ISet
-
Adds all of the elements of the specified collection to the set.
- insertAll(Iterable<? extends T>) - Method in class org.javimmutable.collections.list.TreeList
- insertAll(Iterator<? extends IMapEntry<Integer, T>>) - Method in class org.javimmutable.collections.array.TrieArray
- insertAll(Iterator<? extends IMapEntry<Integer, T>>) - Method in interface org.javimmutable.collections.IArray
- insertAll(Iterator<? extends IMapEntry<K, IList<V>>>) - Method in interface org.javimmutable.collections.IListMap
- insertAll(Iterator<? extends IMapEntry<K, IList<V>>>) - Method in class org.javimmutable.collections.listmap.HashListMap
- insertAll(Iterator<? extends IMapEntry<K, IList<V>>>) - Method in class org.javimmutable.collections.listmap.OrderedListMap
- insertAll(Iterator<? extends IMapEntry<K, IList<V>>>) - Method in class org.javimmutable.collections.listmap.TreeListMap
- insertAll(Iterator<? extends IMapEntry<K, ISet<V>>>) - Method in interface org.javimmutable.collections.ISetMap
- insertAll(Iterator<? extends IMapEntry<K, ISet<V>>>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- insertAll(Iterator<? extends IMapEntry<K, ISet<V>>>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- insertAll(Iterator<? extends IMapEntry<K, ISet<V>>>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- insertAll(Iterator<? extends IMapEntry<K, ISet<V>>>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- insertAll(Iterator<? extends IMapEntry<K, V>>) - Method in interface org.javimmutable.collections.IMap
-
Adds the values to the end of the list in the same order they appear in the Iterable.
- insertAll(Iterator<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- insertAll(Iterator<? extends T>) - Method in class org.javimmutable.collections.common.AbstractSet
- insertAll(Iterator<? extends T>) - Method in class org.javimmutable.collections.deque.ArrayDeque
- insertAll(Iterator<? extends T>) - Method in interface org.javimmutable.collections.ICollection
-
Add all values to the container in some manner appropriate to the implementation.
- insertAll(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IDeque
-
Adds the values to the end of the list in the same order they appear in the Iterable.
- insertAll(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IList
-
Adds the values to the end of the list in the same order they appear in the Iterable.
- insertAll(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Adds each occurrence in values to the multiset.
- insertAll(Iterator<? extends T>) - Method in interface org.javimmutable.collections.ISet
-
Adds all of the elements of the specified collection to the set.
- insertAll(Iterator<? extends T>) - Method in class org.javimmutable.collections.list.TreeList
- insertAll(K, Iterable<? extends V>) - Method in interface org.javimmutable.collections.IListMap
-
Adds all of the elements of the specified collection to the List for the specified key.
- insertAll(K, Iterable<? extends V>) - Method in interface org.javimmutable.collections.ISetMap
-
Adds all of the elements of the specified Iterable to the Set for the specified key.
- insertAll(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- insertAll(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- insertAll(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- insertAll(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- insertAll(K, Iterator<? extends V>) - Method in interface org.javimmutable.collections.IListMap
-
Adds all of the elements of the specified collection to the List for the specified key.
- insertAll(K, Iterator<? extends V>) - Method in interface org.javimmutable.collections.ISetMap
-
Adds all of the elements of the specified collection to the Set for the specified key.
- insertAll(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- insertAll(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- insertAll(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- insertAll(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- insertAll(IMultiset<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- insertAll(IMultiset<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Adds each occurrence in values to the multiset.
- insertAllFirst(Iterable<? extends T>) - Method in class org.javimmutable.collections.deque.ArrayDeque
- insertAllFirst(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IDeque
-
Adds the values to the beginning of the list in the same order they appear in the Iterable.
- insertAllFirst(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IList
-
Adds the values to the beginning of the list in the same order they appear in the Iterable.
- insertAllFirst(Iterable<? extends T>) - Method in class org.javimmutable.collections.list.TreeList
- insertAllFirst(Iterator<? extends T>) - Method in class org.javimmutable.collections.deque.ArrayDeque
- insertAllFirst(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IDeque
-
Adds the values to the beginning of the list in the same order they appear in the Iterable.
- insertAllFirst(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IList
-
Adds the values to the beginning of the list in the same order they appear in the Iterable.
- insertAllFirst(Iterator<? extends T>) - Method in class org.javimmutable.collections.list.TreeList
- insertAllLast(Iterable<? extends T>) - Method in class org.javimmutable.collections.deque.ArrayDeque
- insertAllLast(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IDeque
-
Adds the values to the end of the list in the same order they appear in the Iterable.
- insertAllLast(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IList
-
Adds the values to the end of the list in the same order they appear in the Iterable.
- insertAllLast(Iterable<? extends T>) - Method in class org.javimmutable.collections.list.TreeList
- insertAllLast(Iterator<? extends T>) - Method in class org.javimmutable.collections.deque.ArrayDeque
- insertAllLast(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IDeque
-
Adds the values to the end of the list in the same order they appear in the Iterable.
- insertAllLast(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IList
-
Adds the values to the end of the list in the same order they appear in the Iterable.
- insertAllLast(Iterator<? extends T>) - Method in class org.javimmutable.collections.list.TreeList
- insertFirst(T) - Method in class org.javimmutable.collections.deque.ArrayDeque
- insertFirst(T) - Method in interface org.javimmutable.collections.IDeque
-
Adds a value to the front of the list.
- insertFirst(T) - Method in interface org.javimmutable.collections.IList
-
Adds a value to the front of the list.
- insertFirst(T) - Method in class org.javimmutable.collections.list.TreeList
- insertLast(T) - Method in class org.javimmutable.collections.deque.ArrayDeque
- insertLast(T) - Method in interface org.javimmutable.collections.IDeque
-
Adds a value to the end of the list.
- insertLast(T) - Method in interface org.javimmutable.collections.IList
-
Adds a value to the end of the list.
- insertLast(T) - Method in class org.javimmutable.collections.list.TreeList
- instance() - Static method in class org.javimmutable.collections.hash.EmptyHashSet
- instance() - Static method in class org.javimmutable.collections.list.ListCollisionMap
- instance() - Static method in class org.javimmutable.collections.list.ListCollisionSet
- instance() - Static method in class org.javimmutable.collections.tree.TreeCollisionMap
- instance() - Static method in class org.javimmutable.collections.tree.TreeCollisionSet
- Int1(int) - Constructor for class org.javimmutable.collections.Temp.Int1
- IntArrayMappedTrieMath - Class in org.javimmutable.collections.common
-
Utility class that supports math related to Array Mapped Tries with integer hash codes and 64 element arrays.
- intersection(Iterable<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- intersection(Iterable<? extends T>) - Method in class org.javimmutable.collections.common.AbstractSet
- intersection(Iterable<? extends T>) - Method in class org.javimmutable.collections.hash.EmptyHashSet
- intersection(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Creates a new multiset with the occurrences that are in both other and this.
- intersection(Iterable<? extends T>) - Method in interface org.javimmutable.collections.ISet
-
Removes all values from the Set that are not contained in the other collection.
- intersection(Iterator<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- intersection(Iterator<? extends T>) - Method in class org.javimmutable.collections.common.AbstractSetUsingMap
- intersection(Iterator<? extends T>) - Method in class org.javimmutable.collections.hash.EmptyHashSet
- intersection(Iterator<? extends T>) - Method in class org.javimmutable.collections.hash.HashSet
- intersection(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Creates a new multiset with the occurrences that are in both other and this.
- intersection(Iterator<? extends T>) - Method in interface org.javimmutable.collections.ISet
-
Removes all values from the Set that are not contained in the other collection.
- intersection(Set<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- intersection(Set<? extends T>) - Method in class org.javimmutable.collections.common.AbstractSetUsingMap
- intersection(Set<? extends T>) - Method in class org.javimmutable.collections.hash.EmptyHashSet
- intersection(Set<? extends T>) - Method in class org.javimmutable.collections.hash.HashSet
- intersection(Set<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Creates a new multiset with the occurrences that are in both other and this.
- intersection(Set<? extends T>) - Method in interface org.javimmutable.collections.ISet
-
Removes all values from the Set that are not contained in the other collection.
- intersection(K, Iterable<? extends V>) - Method in interface org.javimmutable.collections.ISetMap
-
Removes all values from the Set at key that are not contained in the other collection.
- intersection(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- intersection(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- intersection(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- intersection(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- intersection(K, Iterator<? extends V>) - Method in interface org.javimmutable.collections.ISetMap
-
Removes all values from the Set at key that are not contained in the other collection.
- intersection(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- intersection(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- intersection(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- intersection(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- intersection(K, Set<? extends V>) - Method in interface org.javimmutable.collections.ISetMap
-
Removes all values from the Set at key that are not contained in the other collection.
- intersection(K, Set<? extends V>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- intersection(K, Set<? extends V>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- intersection(K, Set<? extends V>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- intersection(K, Set<? extends V>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- intersection(K, ISet<? extends V>) - Method in interface org.javimmutable.collections.ISetMap
-
Removes all values from the Set at key that are not contained in the other collection.
- intersection(K, ISet<? extends V>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- intersection(K, ISet<? extends V>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- intersection(K, ISet<? extends V>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- intersection(K, ISet<? extends V>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- intersection(IMultiset<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- intersection(IMultiset<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Creates a new multiset with the occurrences that are in both other and this.
- intersection(ISet<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- intersection(ISet<? extends T>) - Method in class org.javimmutable.collections.common.AbstractSet
- intersection(ISet<? extends T>) - Method in class org.javimmutable.collections.hash.EmptyHashSet
- intersection(ISet<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Creates a new multiset with the occurrences that are in both other and this.
- intersection(ISet<? extends T>) - Method in interface org.javimmutable.collections.ISet
-
Removes all values from the Set that are not contained in the other collection.
- IntFunc2<R> - Interface in org.javimmutable.collections
- intVar(int) - Static method in class org.javimmutable.collections.Temp
- InvariantCheckable - Interface in org.javimmutable.collections
-
Implemented by all classes for testing purposes.
- isEmpty() - Method in class org.javimmutable.collections.array.TrieArrayNode
- isEmpty() - Method in class org.javimmutable.collections.array.TrieLongArrayNode
- isEmpty() - Method in class org.javimmutable.collections.common.AbstractMultiset
- isEmpty() - Method in class org.javimmutable.collections.common.AbstractSetUsingMap
- isEmpty() - Method in class org.javimmutable.collections.common.ArrayToMapAdaptor
- isEmpty() - Method in class org.javimmutable.collections.common.MapAdaptor
- isEmpty() - Method in class org.javimmutable.collections.deque.ArrayDeque
- isEmpty() - Method in class org.javimmutable.collections.hash.EmptyHashSet
- isEmpty() - Method in class org.javimmutable.collections.hash.HashSet
- isEmpty() - Method in interface org.javimmutable.collections.ICollection
- isEmpty() - Method in class org.javimmutable.collections.list.TreeList
- isEmpty() - Method in class org.javimmutable.collections.listmap.HashListMap
- isEmpty() - Method in class org.javimmutable.collections.listmap.OrderedListMap
- isEmpty() - Method in class org.javimmutable.collections.listmap.TreeListMap
- isEmpty() - Method in class org.javimmutable.collections.Maybe
-
Returns true if this has no value
- isEmpty() - Method in class org.javimmutable.collections.NotNull
-
Returns true if this has no value
- isEmpty() - Method in class org.javimmutable.collections.setmap.HashSetMap
- isEmpty() - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- isEmpty() - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- isEmpty() - Method in class org.javimmutable.collections.setmap.TreeSetMap
- ISet<T> - Interface in org.javimmutable.collections
-
Interface for immutable sets.
- ISetBuilder<T> - Interface in org.javimmutable.collections
- ISetMap<K,
V> - Interface in org.javimmutable.collections -
Interface for maps that map keys to sets of values.
- ISetMaps - Class in org.javimmutable.collections
- ISets - Class in org.javimmutable.collections
- isFull() - Method in class org.javimmutable.collections.Maybe
-
Returns true if this has a value
- isFull() - Method in class org.javimmutable.collections.NotNull
-
Returns true if this has a value
- isNonEmpty() - Method in class org.javimmutable.collections.deque.ArrayDeque
- isNonEmpty() - Method in interface org.javimmutable.collections.ICollection
- isNonEmpty() - Method in class org.javimmutable.collections.list.TreeList
- isSplitAllowed() - Method in class org.javimmutable.collections.iterators.GenericIterator
- isSplitAllowed() - Method in class org.javimmutable.collections.iterators.LazyMultiIterator
- isSplitAllowed() - Method in class org.javimmutable.collections.iterators.TransformIterator
- isSplitAllowed() - Method in interface org.javimmutable.collections.SplitableIterator
-
Tests to determine if this Iterator is capable of splitting into two new Iterators.
- IStreamable<T> - Interface in org.javimmutable.collections
-
Interface for classes that can produce java.util.Streams and are also Iterable.
- iterable(CollisionMap.Node) - Method in interface org.javimmutable.collections.common.CollisionMap
- iterable(CollisionSet.Node) - Method in interface org.javimmutable.collections.common.CollisionSet
- iterable(T) - Static method in class org.javimmutable.collections.iterators.SingleValueIterator
- iterableSize() - Method in interface org.javimmutable.collections.iterators.GenericIterator.Iterable
- iterableSize() - Method in class org.javimmutable.collections.tree.LeafNode
- iterateOverRange(CollisionMap.Node, GenericIterator.State<IMapEntry<K, V>>, int, int) - Method in interface org.javimmutable.collections.common.CollisionMap
- iterateOverRange(CollisionMap.Node, GenericIterator.State<IMapEntry<K, V>>, int, int) - Method in class org.javimmutable.collections.list.ListCollisionMap
- iterateOverRange(CollisionMap.Node, GenericIterator.State<IMapEntry<K, V>>, int, int) - Method in class org.javimmutable.collections.tree.TreeCollisionMap
- iterateOverRange(CollisionSet.Node, GenericIterator.State<T>, int, int) - Method in interface org.javimmutable.collections.common.CollisionSet
- iterateOverRange(CollisionSet.Node, GenericIterator.State<T>, int, int) - Method in class org.javimmutable.collections.list.ListCollisionSet
- iterateOverRange(CollisionSet.Node, GenericIterator.State<T>, int, int) - Method in class org.javimmutable.collections.tree.TreeCollisionSet
- iterateOverRange(GenericIterator.State<IMapEntry<K, V>>, int, int) - Method in class org.javimmutable.collections.tree.LeafNode
- iterateOverRange(GenericIterator.State<T>, int, int) - Method in interface org.javimmutable.collections.iterators.GenericIterator.Iterable
-
Create a State to iterate over the specified range of values if possible.
- iterator() - Method in class org.javimmutable.collections.array.TrieArray
- iterator() - Method in class org.javimmutable.collections.array.TrieArrayBuilder
- iterator() - Method in class org.javimmutable.collections.common.AbstractMultiset
- iterator() - Method in class org.javimmutable.collections.common.AbstractSetUsingMap
- iterator() - Method in class org.javimmutable.collections.common.DequeListAdaptor
- iterator() - Method in class org.javimmutable.collections.common.ListAdaptor
- iterator() - Method in class org.javimmutable.collections.common.SetAdaptor
- iterator() - Method in class org.javimmutable.collections.deque.ArrayDeque
- iterator() - Method in class org.javimmutable.collections.hash.EmptyHashMap
- iterator() - Method in class org.javimmutable.collections.hash.EmptyHashSet
- iterator() - Method in class org.javimmutable.collections.hash.HashMap
- iterator() - Method in class org.javimmutable.collections.hash.HashSet
- iterator() - Method in class org.javimmutable.collections.indexed.IndexedList
- iterator() - Method in class org.javimmutable.collections.inorder.OrderedMap
- iterator() - Method in interface org.javimmutable.collections.IStreamable
-
Overridden here to require implementations to return a SplitableIterator rather than a basic Iterator.
- iterator() - Method in class org.javimmutable.collections.iterators.EntryStreamable
- iterator() - Method in interface org.javimmutable.collections.iterators.GenericIterator.Iterable
- iterator() - Method in class org.javimmutable.collections.iterators.TransformStreamable
- iterator() - Method in class org.javimmutable.collections.list.TreeList
- iterator() - Method in class org.javimmutable.collections.listmap.HashListMap
- iterator() - Method in class org.javimmutable.collections.listmap.OrderedListMap
- iterator() - Method in class org.javimmutable.collections.listmap.TreeListMap
- iterator() - Method in class org.javimmutable.collections.setmap.HashSetMap
- iterator() - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- iterator() - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- iterator() - Method in class org.javimmutable.collections.setmap.TreeSetMap
- iterator() - Method in interface org.javimmutable.collections.SplitableIterable
- iterator() - Method in class org.javimmutable.collections.tree.TreeMap
- iterator(CollisionMap.Node) - Method in interface org.javimmutable.collections.common.CollisionMap
- iterator(CollisionSet.Node) - Method in interface org.javimmutable.collections.common.CollisionSet
- iterator(Indexed<SplitableIterable<T>>) - Static method in class org.javimmutable.collections.iterators.LazyMultiIterator
- iterator(Indexed<T>) - Static method in class org.javimmutable.collections.iterators.IndexedIterator
- iterator(SplitableIterator<SplitableIterable<T>>) - Static method in class org.javimmutable.collections.iterators.LazyMultiIterator
- iteratorEquals(Iterator<?>, Iterator<?>) - Static method in class org.javimmutable.collections.iterators.IteratorHelper
- iteratorHashCode(Iterator<?>) - Static method in class org.javimmutable.collections.iterators.IteratorHelper
- IteratorHelper - Class in org.javimmutable.collections.iterators
- IteratorHelper() - Constructor for class org.javimmutable.collections.iterators.IteratorHelper
- iteratorToString(Iterator<?>) - Static method in class org.javimmutable.collections.iterators.IteratorHelper
J
- javaEntry(K, V) - Static method in class org.javimmutable.collections.MapEntry
K
- key - Variable in class org.javimmutable.collections.MapEntry
- keys() - Method in class org.javimmutable.collections.array.TrieArray
- keys() - Method in class org.javimmutable.collections.array.TrieArrayNode
- keys() - Method in class org.javimmutable.collections.array.TrieLongArrayNode
- keys() - Method in class org.javimmutable.collections.common.AbstractMap
- keys() - Method in interface org.javimmutable.collections.IArray
-
Creates an IStreamable to access all of the array's keys.
- keys() - Method in interface org.javimmutable.collections.IListMap
-
Creates an IStreamable to access all of the Map's keys.
- keys() - Method in interface org.javimmutable.collections.IMap
-
Creates an IStreamable to access all of the Map's keys.
- keys() - Method in class org.javimmutable.collections.inorder.OrderedMap
- keys() - Method in interface org.javimmutable.collections.ISetMap
-
Creates an IStreamable to access all of the Map's keys.
- keys() - Method in class org.javimmutable.collections.listmap.HashListMap
- keys() - Method in class org.javimmutable.collections.listmap.OrderedListMap
- keys() - Method in class org.javimmutable.collections.listmap.TreeListMap
- keys() - Method in class org.javimmutable.collections.setmap.HashSetMap
- keys() - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- keys() - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- keys() - Method in class org.javimmutable.collections.setmap.TreeSetMap
- keys(CollisionMap<K, V>) - Method in interface org.javimmutable.collections.hash.map.ArrayMapNode
- keys(CollisionMap<K, V>) - Method in class org.javimmutable.collections.hash.map.ArrayMultiValueMapNode
- keys(CollisionMap<K, V>) - Method in class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- keySet() - Method in class org.javimmutable.collections.common.ArrayToMapAdaptor
- keySet() - Method in class org.javimmutable.collections.common.MapAdaptor
L
- LazyMultiIterator<T> - Class in org.javimmutable.collections.iterators
- LeafNode<K,
V> - Class in org.javimmutable.collections.tree -
¬ * A Node containing one value and no children.
- leastBit(long) - Static method in class org.javimmutable.collections.common.BitmaskMath
- liftedHashCode(int, int) - Static method in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- liftedHashCode(long, int) - Static method in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- list - Variable in class org.javimmutable.collections.serialization.TreeListProxy
- ListAdaptor<T> - Class in org.javimmutable.collections.common
-
Immutable List implementation backed by a
IList
. - ListAdaptor(IList<T>) - Constructor for class org.javimmutable.collections.common.ListAdaptor
- ListAppendTimingComparison - Class in org.javimmutable.collections.list
- ListAppendTimingComparison() - Constructor for class org.javimmutable.collections.list.ListAppendTimingComparison
- listBuilder() - Static method in class org.javimmutable.collections.list.TreeList
- ListBuilder() - Constructor for class org.javimmutable.collections.list.TreeList.ListBuilder
- listCollector() - Method in interface org.javimmutable.collections.IList
-
Returns a Collector that creates a list of the same type as this containing all of the collected values inserted after whatever starting values this already contained.
- ListCollisionMap<K,
V> - Class in org.javimmutable.collections.list - ListCollisionSet<T> - Class in org.javimmutable.collections.list
- listMapCollector() - Method in interface org.javimmutable.collections.IListMap
-
Returns a Collector that creates a listMap of the same type as this containing all of the collected values inserted over whatever starting values this already contained.
- ListMapTimingLoop - Class in org.javimmutable.collections.listmap
- ListTimingComparison - Class in org.javimmutable.collections.list
- ListTimingComparison() - Constructor for class org.javimmutable.collections.list.ListTimingComparison
- LongArrayMappedTrieMath - Class in org.javimmutable.collections.common
-
Utility class that supports math related to Array Mapped Tries with long hash codes and 64 element arrays.
M
- main(String[]) - Static method in class org.javimmutable.collections.hash.TimingLoop
- main(String[]) - Static method in class org.javimmutable.collections.list.ListAppendTimingComparison
- main(String[]) - Static method in class org.javimmutable.collections.list.ListTimingComparison
- main(String[]) - Static method in class org.javimmutable.collections.list.RAListTimingComparison
- main(String[]) - Static method in class org.javimmutable.collections.listmap.ListMapTimingLoop
- main(String[]) - Static method in class org.javimmutable.collections.tree.TimingComparison
- main(String[]) - Static method in class org.javimmutable.collections.util.MapAccessTimingComparison
- main(String[]) - Static method in class org.javimmutable.collections.util.MapTimingComparison
- makeToString(IMapEntry) - Static method in class org.javimmutable.collections.MapEntry
- map - Variable in class org.javimmutable.collections.common.AbstractMultiset
- map - Variable in class org.javimmutable.collections.common.AbstractSetUsingMap
- map - Variable in class org.javimmutable.collections.serialization.HashListMapProxy
- map - Variable in class org.javimmutable.collections.serialization.OrderedListMapProxy
- map - Variable in class org.javimmutable.collections.serialization.TreeListMapProxy
- map - Variable in class org.javimmutable.collections.serialization.HashMapProxy
- map - Variable in class org.javimmutable.collections.serialization.OrderedMapProxy
- map - Variable in class org.javimmutable.collections.serialization.TreeMapProxy
- map - Variable in class org.javimmutable.collections.serialization.HashSetMapProxy
- map - Variable in class org.javimmutable.collections.serialization.OrderedSetMapProxy
- map - Variable in class org.javimmutable.collections.serialization.TemplateSetMapProxy
- map - Variable in class org.javimmutable.collections.serialization.TreeSetMapProxy
- map(Func0<? extends T>) - Method in class org.javimmutable.collections.Maybe
-
Produce a full
Maybe
. - map(Func0<? extends T>) - Method in class org.javimmutable.collections.NotNull
-
Produce a full
NotNull
. - map(Func0<? extends U>, Func1<? super T, ? extends U>) - Method in class org.javimmutable.collections.Maybe
-
Produce a full
Maybe
. - map(Func0<? extends U>, Func1<? super T, ? extends U>) - Method in class org.javimmutable.collections.NotNull
-
Produce a full
NotNull
. - map(Func1<? super T, ? extends U>) - Method in class org.javimmutable.collections.Maybe
-
Produce a
Maybe
that is empty if this is empty or else contains the result of passing this value to the given mapping function. - map(Func1<? super T, ? extends U>) - Method in class org.javimmutable.collections.NotNull
-
Produce a
NotNull
that is empty if this is empty or else contains the result of passing this value to the given mapping function. - map(Func1Throws<T, U, ? super Exception>) - Method in class org.javimmutable.collections.Computation
-
Add a step to the computation that applies the function to the current value to produce a new value.
- map(Func1Throws<T, U, Exception>) - Method in class org.javimmutable.collections.Result.Failure
- map(Func1Throws<T, U, Exception>) - Method in class org.javimmutable.collections.Result
-
Replaces our successful result with a new value computed using the provided function.
- map(Func1Throws<T, U, Exception>) - Method in class org.javimmutable.collections.Result.Success
- MapAccessTimingComparison - Class in org.javimmutable.collections.util
-
More realistic map timing comparisons.
- MapAdaptor<K,
V> - Class in org.javimmutable.collections.common -
An immutable Map implementation backed by a
IMap
. - MapAdaptor(IMap<K, V>) - Constructor for class org.javimmutable.collections.common.MapAdaptor
- mapBuilder() - Method in class org.javimmutable.collections.hash.EmptyHashMap
- mapBuilder() - Method in class org.javimmutable.collections.hash.HashMap
- mapBuilder() - Method in interface org.javimmutable.collections.IMap
-
Creates a Builder with the same type signature as this Map.
- mapBuilder() - Method in class org.javimmutable.collections.inorder.OrderedMap
- mapBuilder() - Method in class org.javimmutable.collections.tree.TreeMap
- mapCollector() - Method in interface org.javimmutable.collections.IMap
-
Returns a Collector that creates a set of the same type as this containing all of the collected values inserted over whatever starting values this already contained.
- mapCollector() - Method in class org.javimmutable.collections.inorder.OrderedMap
- MapEntry<K,
V> - Class in org.javimmutable.collections - MapEntry(Map.Entry<K, V>) - Constructor for class org.javimmutable.collections.MapEntry
- MapEntry(K, V) - Constructor for class org.javimmutable.collections.MapEntry
- MapEntry(IMapEntry<K, V>) - Constructor for class org.javimmutable.collections.MapEntry
- mapFailure(Func1Throws<Exception, T, Exception>) - Method in class org.javimmutable.collections.Result.Failure
- mapFailure(Func1Throws<Exception, T, Exception>) - Method in class org.javimmutable.collections.Result
-
Replaces our failure result with a new value computed using the provided function.
- mapFailure(Func1Throws<Exception, T, Exception>) - Method in class org.javimmutable.collections.Result.Success
- Mapped<K,
V> - Interface in org.javimmutable.collections -
Interface for containers that associate keys with values.
- mappedAssign(K, V) - Method in interface org.javimmutable.collections.array.ArrayAssignMapper
-
Called during assign operation to create a new mapping for the given key and value.
- mappedAssign(K, V) - Method in class org.javimmutable.collections.hash.HashMap.Builder
- mappedAssign(K, V) - Method in class org.javimmutable.collections.hash.HashMap
- mappedAssign(ArrayAssignMapper<K, V, T>, K, V) - Method in class org.javimmutable.collections.array.TrieArrayNode
- mappedAssign(ArrayMapNode<K, V>, K, V) - Method in class org.javimmutable.collections.hash.HashMap.Builder
- mappedAssign(ArrayMapNode<K, V>, K, V) - Method in class org.javimmutable.collections.hash.HashMap
- mappedAssign(ArraySetNode<T>, T, T) - Method in class org.javimmutable.collections.hash.HashSet
- mappedAssign(T, K, V) - Method in interface org.javimmutable.collections.array.ArrayAssignMapper
-
Called during assign operation to replace an existing mapping for the given key and value.
- mappedAssign(T, T) - Method in class org.javimmutable.collections.hash.HashSet
- mappedContains(ArrayContainsMapper<K, T>, K) - Method in class org.javimmutable.collections.array.TrieArrayNode
- mappedContains(ArraySetNode<T>, T) - Method in class org.javimmutable.collections.hash.HashSet
- mappedContains(T, K) - Method in interface org.javimmutable.collections.array.ArrayContainsMapper
- mappedDelete(ArrayDeleteMapper<K, T>, K) - Method in class org.javimmutable.collections.array.TrieArrayNode
- mappedDelete(ArrayMapNode<K, V>, K) - Method in class org.javimmutable.collections.hash.HashMap
- mappedDelete(ArraySetNode<T>, T) - Method in class org.javimmutable.collections.hash.HashSet
- mappedDelete(T, K) - Method in interface org.javimmutable.collections.array.ArrayDeleteMapper
-
Called during delete operation to delete a key from a mapping.
- mappedEntries(ArrayIterationMapper<K, V, T>) - Method in class org.javimmutable.collections.array.TrieArrayNode
- mappedEntries(ArrayMapNode<K, V>) - Method in class org.javimmutable.collections.hash.HashMap
- mappedEntries(ArraySetNode<T>) - Method in class org.javimmutable.collections.hash.HashSet
- mappedEntries(T) - Method in interface org.javimmutable.collections.array.ArrayIterationMapper
- mappedFind(ArrayGetMapper<K, V, T>, K) - Method in class org.javimmutable.collections.array.TrieArrayNode
- mappedFind(ArrayMapNode<K, V>, K) - Method in class org.javimmutable.collections.hash.HashMap
- mappedFind(T, K) - Method in interface org.javimmutable.collections.array.ArrayGetMapper
- mappedFindEntry(ArrayFindEntryMapper<K, V, T>, K) - Method in class org.javimmutable.collections.array.TrieArrayNode
- mappedFindEntry(ArrayMapNode<K, V>, K) - Method in class org.javimmutable.collections.hash.HashMap
- mappedFindEntry(T, K) - Method in interface org.javimmutable.collections.array.ArrayFindEntryMapper
- mappedGetValueOr(ArrayGetMapper<K, V, T>, K, V) - Method in class org.javimmutable.collections.array.TrieArrayNode
- mappedGetValueOr(ArrayMapNode<K, V>, K, V) - Method in class org.javimmutable.collections.hash.HashMap
- mappedGetValueOr(T, K, V) - Method in interface org.javimmutable.collections.array.ArrayGetMapper
- mappedKeys(ArrayIterationMapper<K, ?, T>) - Method in class org.javimmutable.collections.array.TrieArrayNode
- mappedKeys(ArrayMapNode<K, V>) - Method in class org.javimmutable.collections.hash.HashMap
- mappedKeys(ArraySetNode<T>) - Method in class org.javimmutable.collections.hash.HashSet
- mappedKeys(T) - Method in interface org.javimmutable.collections.array.ArrayIterationMapper
- mappedSize(ArrayMapNode<K, V>) - Method in class org.javimmutable.collections.hash.HashMap.Builder
- mappedSize(ArrayMapNode<K, V>) - Method in class org.javimmutable.collections.hash.HashMap
- mappedSize(ArraySetNode<T>) - Method in class org.javimmutable.collections.hash.HashSet
- mappedSize(T) - Method in interface org.javimmutable.collections.array.ArraySizeMapper
-
Called to obtain number of keys in a given mapping.
- mappedUpdate(ArrayUpdateMapper<K, V, T>, K, Func1<Maybe<V>, V>) - Method in class org.javimmutable.collections.array.TrieArrayNode
- mappedUpdate(ArrayMapNode<K, V>, K, Func1<Maybe<V>, V>) - Method in class org.javimmutable.collections.hash.HashMap
- mappedUpdate(T, K, Func1<Maybe<V>, V>) - Method in interface org.javimmutable.collections.array.ArrayUpdateMapper
- mappedValues(ArrayIterationMapper<?, V, T>) - Method in class org.javimmutable.collections.array.TrieArrayNode
- mappedValues(ArrayMapNode<K, V>) - Method in class org.javimmutable.collections.hash.HashMap
- mappedValues(ArraySetNode<T>) - Method in class org.javimmutable.collections.hash.HashSet
- mappedValues(T) - Method in interface org.javimmutable.collections.array.ArrayIterationMapper
- mapThrows(Func0Throws<? extends T, E>) - Method in class org.javimmutable.collections.Maybe
-
Produce a full
Maybe
. - mapThrows(Func0Throws<? extends T, E>) - Method in class org.javimmutable.collections.NotNull
-
Produce a full
NotNull
. - mapThrows(Func0Throws<? extends U, E>, Func1Throws<? super T, ? extends U, E>) - Method in class org.javimmutable.collections.Maybe
-
Produce a full
Maybe
. - mapThrows(Func0Throws<? extends U, E>, Func1Throws<? super T, ? extends U, E>) - Method in class org.javimmutable.collections.NotNull
-
Produce a full
NotNull
. - mapThrows(Func1Throws<? super T, ? extends U, E>) - Method in class org.javimmutable.collections.Maybe
-
Produce a
Maybe
that is empty if this is empty or else contains the result of passing this value to the given mapping function. - mapThrows(Func1Throws<? super T, ? extends U, E>) - Method in class org.javimmutable.collections.NotNull
-
Produce a
NotNull
that is empty if this is empty or else contains the result of passing this value to the given mapping function. - MapTimingComparison - Class in org.javimmutable.collections.util
- match(U, Func1<? super T, U>) - Method in class org.javimmutable.collections.Maybe
-
Gets a value based on this value.
- match(U, Func1<? super T, U>) - Method in class org.javimmutable.collections.NotNull
-
Gets a value based on this value.
- matchOr(Func0<U>, Func1<? super T, U>) - Method in class org.javimmutable.collections.Maybe
-
Gets a value based on this value.
- matchOr(Func0<U>, Func1<? super T, U>) - Method in class org.javimmutable.collections.NotNull
-
Gets a value based on this value.
- matchOrThrows(Func0Throws<U, E>, Func1Throws<? super T, U, E>) - Method in class org.javimmutable.collections.Maybe
-
Gets a value based on this value.
- matchOrThrows(Func0Throws<U, E>, Func1Throws<? super T, U, E>) - Method in class org.javimmutable.collections.NotNull
-
Gets a value based on this value.
- matchThrows(U, Func1Throws<? super T, U, E>) - Method in class org.javimmutable.collections.Maybe
-
Gets a value based on this value.
- matchThrows(U, Func1Throws<? super T, U, E>) - Method in class org.javimmutable.collections.NotNull
-
Gets a value based on this value.
- MAX_FULL_SHIFT_NUMBER - Static variable in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- MAX_FULL_SHIFT_NUMBER - Static variable in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- MAX_FULL_SHIFTS - Static variable in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- MAX_FULL_SHIFTS - Static variable in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- MAX_INDEX - Static variable in class org.javimmutable.collections.common.BitmaskMath
- MAX_SHIFT_NUMBER - Static variable in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- MAX_SHIFT_NUMBER - Static variable in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- MAX_SHIFTS - Static variable in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- MAX_SHIFTS - Static variable in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- maxShiftsForBitCount(int) - Static method in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- maxShiftsForBitCount(int) - Static method in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- maybe() - Method in class org.javimmutable.collections.NotNull
-
If this empty returns
Maybe.empty()
, otherwise returnsMaybe.of(T)
. - Maybe<T> - Class in org.javimmutable.collections
-
Used to handle cases when a value may or may not exist.
- MaybeProxy - Class in org.javimmutable.collections.serialization
- MaybeProxy() - Constructor for class org.javimmutable.collections.serialization.MaybeProxy
- MaybeProxy(Maybe) - Constructor for class org.javimmutable.collections.serialization.MaybeProxy
- middle(int, int) - Method in class org.javimmutable.collections.deque.ArrayDeque
- middle(int, int) - Method in interface org.javimmutable.collections.IDeque
-
Return the (possibly empty) list containing the values starting at offset (inclusive) and including all remaining items up to but excluding the value at index limit.
- middle(int, int) - Method in interface org.javimmutable.collections.IList
-
Return the (possibly empty) list containing the values starting at offset (inclusive) and including all remaining items up to but excluding the value at index limit.
- middle(int, int) - Method in class org.javimmutable.collections.list.TreeList
- multiIterableState(GenericIterator.State<T>, Indexed<? extends GenericIterator.Iterable<T>>, int, int) - Static method in class org.javimmutable.collections.iterators.GenericIterator
-
Returns a State for iterating multiple collections (Iterables) that are themselves stored in an Indexed collection.
- multisetCollector() - Method in interface org.javimmutable.collections.IMultiset
-
Returns a Collector that creates a multiset of the same type as this containing all of the collected values inserted over whatever starting values this already contained.
- multisetCollector() - Method in class org.javimmutable.collections.inorder.OrderedMultiset
- multiValueState(GenericIterator.State<T>, Indexed<T>, int, int) - Static method in class org.javimmutable.collections.iterators.GenericIterator
-
Returns a State for iterating multiple values stored in an Indexed collection.
- MutableDelta - Class in org.javimmutable.collections.common
-
Mutable object for tracking changes from zero.
- MutableDelta() - Constructor for class org.javimmutable.collections.common.MutableDelta
N
- newArray(T) - Static method in class org.javimmutable.collections.common.ArrayHelper
- newArray(T, T) - Static method in class org.javimmutable.collections.common.ArrayHelper
- next() - Method in class org.javimmutable.collections.iterators.EmptyIterator
- next() - Method in class org.javimmutable.collections.iterators.GenericIterator
- next() - Method in class org.javimmutable.collections.iterators.LazyMultiIterator
- next() - Method in class org.javimmutable.collections.iterators.SimpleTransformIterator
- next() - Method in class org.javimmutable.collections.iterators.SingleValueIterator
- next() - Method in class org.javimmutable.collections.iterators.TransformIterator
- notNull() - Method in class org.javimmutable.collections.Maybe
-
If this empty or has a null value returns
NotNull.empty()
, otherwise returns aNotNull
containing the same value as this. - NotNull<T> - Class in org.javimmutable.collections
-
Used to handle cases when a value may or may not exist and to eliminate the use of null values.
- NotNullProxy - Class in org.javimmutable.collections.serialization
- NotNullProxy() - Constructor for class org.javimmutable.collections.serialization.NotNullProxy
- NotNullProxy(NotNull) - Constructor for class org.javimmutable.collections.serialization.NotNullProxy
- nullToEmpty() - Method in class org.javimmutable.collections.Maybe
-
If this empty or has a null value returns
Maybe.empty()
, otherwise returns this.
O
- occurrenceCount() - Method in class org.javimmutable.collections.common.AbstractMultiset
- occurrenceCount() - Method in interface org.javimmutable.collections.IMultiset
- occurrences - Variable in class org.javimmutable.collections.common.AbstractMultiset
- occurrences() - Method in class org.javimmutable.collections.common.AbstractMultiset
- occurrences() - Method in interface org.javimmutable.collections.IMultiset
-
IStreamable that iterates through each occurrence in the multiset the correct number of times.
- of() - Static method in class org.javimmutable.collections.array.TrieArray
- of() - Static method in class org.javimmutable.collections.deque.ArrayDeque
- of() - Static method in class org.javimmutable.collections.hash.HashMap
-
Returns an empty hash map.
- of() - Static method in class org.javimmutable.collections.hash.HashMultiset
- of() - Static method in class org.javimmutable.collections.hash.HashSet
- of() - Static method in class org.javimmutable.collections.IArrays
-
Creates an empty sparse array that supports any integer (positive or negative) as an index.
- of() - Static method in class org.javimmutable.collections.IDeques
-
Produces an empty
IList
built atop a balanced binary tree. - of() - Static method in class org.javimmutable.collections.ILists
-
Produces an empty
IList
built atop a balanced binary tree. - of() - Static method in class org.javimmutable.collections.inorder.OrderedMap
- of() - Static method in class org.javimmutable.collections.inorder.OrderedMultiset
- of() - Static method in class org.javimmutable.collections.inorder.OrderedSet
- of() - Static method in class org.javimmutable.collections.iterators.EmptyIterator
- of() - Static method in class org.javimmutable.collections.list.TreeList
- of() - Static method in class org.javimmutable.collections.listmap.HashListMap
- of() - Static method in class org.javimmutable.collections.listmap.OrderedListMap
- of() - Static method in class org.javimmutable.collections.listmap.TreeListMap
-
Constructs an empty list map whose keys are sorted in their natural ordering.
- of() - Static method in class org.javimmutable.collections.setmap.HashSetMap
- of() - Static method in class org.javimmutable.collections.setmap.OrderedSetMap
- of() - Static method in class org.javimmutable.collections.setmap.TreeSetMap
-
Constructs an empty set map whose keys are sorted in their natural ordering.
- of() - Static method in class org.javimmutable.collections.tree.ComparableComparator
-
Creates a type appropriate reference to the singleton instance of this class.
- of() - Static method in class org.javimmutable.collections.tree.TreeMap
- of() - Static method in class org.javimmutable.collections.tree.TreeMultiset
- of() - Static method in class org.javimmutable.collections.tree.TreeSet
- of(A, B) - Static method in class org.javimmutable.collections.Tuple2
- of(A, B, C) - Static method in class org.javimmutable.collections.Tuple3
- of(A, B, C, D) - Static method in class org.javimmutable.collections.Tuple4
- of(Class<K>) - Static method in class org.javimmutable.collections.hash.HashMap
-
Returns an empty map using the appropriate collision handling strategy for keys of the given class.
- of(Comparator<K>) - Static method in class org.javimmutable.collections.listmap.TreeListMap
-
Constructs an empty list map using the specified Comparator.
- of(Comparator<K>) - Static method in class org.javimmutable.collections.setmap.TreeSetMap
-
Constructs an empty set map using the specified Comparator.
- of(Comparator<K>) - Static method in class org.javimmutable.collections.tree.TreeMap
- of(Comparator<T>) - Static method in class org.javimmutable.collections.tree.TreeMultiset
- of(Comparator<T>) - Static method in class org.javimmutable.collections.tree.TreeSet
- of(Iterator<? extends T>) - Static method in class org.javimmutable.collections.list.TreeList
- of(Iterator<S>, Function<S, T>) - Static method in class org.javimmutable.collections.iterators.SimpleTransformIterator
- of(Map.Entry<K, V>) - Static method in interface org.javimmutable.collections.IMapEntry
- of(K, V) - Static method in interface org.javimmutable.collections.IMapEntry
- of(Func0Throws<T, ? super Exception>) - Static method in class org.javimmutable.collections.Computation
-
Produce a
Computation
that evaluations the function and returns its result. - of(IArray<V>) - Static method in class org.javimmutable.collections.common.ArrayToMapAdaptor
- of(IDeque<T>) - Static method in class org.javimmutable.collections.common.DequeListAdaptor
- of(IList<T>) - Static method in class org.javimmutable.collections.common.ListAdaptor
- of(IMap<K, ISet<V>>, ISet<V>) - Static method in class org.javimmutable.collections.setmap.TemplateSetMap
-
Creates a new empty
ISetMap
object using the specified template map and set implementations. - of(IMap<K, V>) - Static method in class org.javimmutable.collections.common.MapAdaptor
- of(IMapEntry<K, V>) - Static method in interface org.javimmutable.collections.IMapEntry
- of(Indexed<? extends T>) - Static method in class org.javimmutable.collections.deque.ArrayDeque
- of(Indexed<? extends T>) - Static method in class org.javimmutable.collections.list.TreeList
- of(Indexed<? extends T>, int) - Static method in class org.javimmutable.collections.common.Subindexed
- of(Indexed<? extends T>, int, int) - Static method in class org.javimmutable.collections.common.Subindexed
- of(Indexed<? extends T>, int, int) - Static method in class org.javimmutable.collections.list.TreeList
- of(ISet<T>) - Static method in class org.javimmutable.collections.common.SetAdaptor
- of(IStreamable<S>, Function<S, T>) - Static method in class org.javimmutable.collections.iterators.TransformStreamable
- of(SplitableIterator<S>, Function<S, T>) - Static method in class org.javimmutable.collections.iterators.TransformIterator
- of(T) - Static method in class org.javimmutable.collections.iterators.SingleValueIterator
- of(T) - Static method in class org.javimmutable.collections.Maybe
-
Returns a
Maybe
containing the value. - of(T) - Static method in class org.javimmutable.collections.NotNull
-
Returns a
NotNull
containing the value. - of(T...) - Static method in class org.javimmutable.collections.IArrays
-
Creates an empty sparse array that supports any integer (positive or negative) as an index.
- of(T...) - Static method in class org.javimmutable.collections.IDeques
-
Efficiently produces a
IList
containing all of the specified values built atop a balanced binary tree. - of(T...) - Static method in class org.javimmutable.collections.ILists
-
Efficiently produces a
IList
containing all of the specified values built atop a balanced binary tree. - ofKeys(IStreamable<IMapEntry<K, V>>) - Static method in class org.javimmutable.collections.iterators.TransformStreamable
- ofValues(IStreamable<IMapEntry<K, V>>) - Static method in class org.javimmutable.collections.iterators.TransformStreamable
- ordered() - Static method in class org.javimmutable.collections.IListMaps
-
Creates a list map with keys sorted by order they are inserted.
- ordered() - Static method in class org.javimmutable.collections.IMaps
-
Constructs an empty map whose iterators traverse elements in the same order that they were originally added to the map.
- ordered() - Static method in class org.javimmutable.collections.IMultisets
-
Constructs a multiset containing all of the values in source that sorts values based on the order they were originally added to the multiset.
- ordered() - Static method in class org.javimmutable.collections.ISetMaps
-
Creates a set map with keys sorted by order they are inserted.
- ordered() - Static method in class org.javimmutable.collections.ISets
-
Constructs an empty set that sorts values based on the order they were originally added to the set.
- ordered(C, C, Predicate<C>, Func2<C, T, C>, Func2<C, C, C>) - Static method in class org.javimmutable.collections.GenericCollector
- ordered(Iterable<? extends T>) - Static method in class org.javimmutable.collections.IMultisets
-
Constructs a multiset containing all of the values in source that sorts values based on the order they were originally added to the multiset.
- ordered(Iterable<? extends T>) - Static method in class org.javimmutable.collections.ISets
-
Constructs a set containing all of the values in source that sorts values based on the order they were originally added to the set.
- ordered(Iterator<? extends T>) - Static method in class org.javimmutable.collections.IMultisets
-
Constructs a multiset containing all of the values in source that sorts values based on the order they were originally added to the multiset.
- ordered(Iterator<? extends T>) - Static method in class org.javimmutable.collections.ISets
-
Constructs a set containing all of the values in source that sorts values based on the order they were originally added to the set.
- ordered(Map<K, V>) - Static method in class org.javimmutable.collections.IMaps
-
Constructs a map whose iterators traverse elements in the same order that they were originally added to the map.
- ordered(IMap<K, V>) - Static method in class org.javimmutable.collections.IMaps
-
Constructs a map whose iterators traverse elements in the same order that they were originally added to the map.
- ordered(T...) - Static method in class org.javimmutable.collections.IMultisets
-
Constructs a multiset containing all of the values in source that sorts values based on the order they were originally added to the multiset.
- ordered(T...) - Static method in class org.javimmutable.collections.ISets
-
Constructs a set containing all of the values in source that sorts values based on the order they were originally added to the set.
- orderedBuilder() - Static method in class org.javimmutable.collections.IMaps
-
Create a Builder to construct maps whose iterators visit entries in the same order they were added to the map.
- orderedBuilder() - Static method in class org.javimmutable.collections.ISets
-
Constructs Builder object to produce sets that sort values based on the order they were originally added to the set.
- OrderedListMap<K,
V> - Class in org.javimmutable.collections.listmap -
IListMap
implementation that allows keys to be traversed in the same order as they were inserted into the collection. - OrderedListMapProxy - Class in org.javimmutable.collections.serialization
-
Serialization proxy class to safely serialize immutable collection.
- OrderedListMapProxy() - Constructor for class org.javimmutable.collections.serialization.OrderedListMapProxy
- OrderedListMapProxy(OrderedListMap) - Constructor for class org.javimmutable.collections.serialization.OrderedListMapProxy
- OrderedMap<K,
V> - Class in org.javimmutable.collections.inorder -
IMap
implementation that allows iteration over members in the order in which they were inserted into the map. - OrderedMapProxy - Class in org.javimmutable.collections.serialization
-
Serialization proxy class to safely serialize immutable collection.
- OrderedMapProxy() - Constructor for class org.javimmutable.collections.serialization.OrderedMapProxy
- OrderedMapProxy(OrderedMap) - Constructor for class org.javimmutable.collections.serialization.OrderedMapProxy
- OrderedMultiset<T> - Class in org.javimmutable.collections.inorder
-
IMultiset
implementation built on top of an ordered map. - OrderedMultisetProxy - Class in org.javimmutable.collections.serialization
-
Serialization proxy class to safely serialize immutable collection.
- OrderedMultisetProxy() - Constructor for class org.javimmutable.collections.serialization.OrderedMultisetProxy
- OrderedMultisetProxy(OrderedMultiset) - Constructor for class org.javimmutable.collections.serialization.OrderedMultisetProxy
- OrderedSet<T> - Class in org.javimmutable.collections.inorder
-
ISet
implementation built on top of an ordered set. - OrderedSetMap<K,
V> - Class in org.javimmutable.collections.setmap -
ISetMap
implementation that allows keys to be traversed in the same order as they were inserted into the collection - OrderedSetMapProxy - Class in org.javimmutable.collections.serialization
-
Serialization proxy class to safely serialize immutable collection.
- OrderedSetMapProxy() - Constructor for class org.javimmutable.collections.serialization.OrderedSetMapProxy
- OrderedSetMapProxy(OrderedSetMap) - Constructor for class org.javimmutable.collections.serialization.OrderedSetMapProxy
- OrderedSetProxy - Class in org.javimmutable.collections.serialization
- OrderedSetProxy() - Constructor for class org.javimmutable.collections.serialization.OrderedSetProxy
- OrderedSetProxy(OrderedSet) - Constructor for class org.javimmutable.collections.serialization.OrderedSetProxy
- orElse(T) - Method in class org.javimmutable.collections.Result.Failure
- orElse(T) - Method in class org.javimmutable.collections.Result
-
Converts a failure result into a success result with a specified value.
- orElse(T) - Method in class org.javimmutable.collections.Result.Success
- orElseGet(Supplier<T>) - Method in class org.javimmutable.collections.Result.Failure
- orElseGet(Supplier<T>) - Method in class org.javimmutable.collections.Result
-
Converts a failure result into a success result with the value returned by a
Supplier
. - orElseGet(Supplier<T>) - Method in class org.javimmutable.collections.Result.Success
- org.javimmutable.collections - package org.javimmutable.collections
- org.javimmutable.collections.array - package org.javimmutable.collections.array
- org.javimmutable.collections.common - package org.javimmutable.collections.common
- org.javimmutable.collections.deque - package org.javimmutable.collections.deque
- org.javimmutable.collections.hash - package org.javimmutable.collections.hash
- org.javimmutable.collections.hash.map - package org.javimmutable.collections.hash.map
- org.javimmutable.collections.hash.set - package org.javimmutable.collections.hash.set
- org.javimmutable.collections.indexed - package org.javimmutable.collections.indexed
- org.javimmutable.collections.inorder - package org.javimmutable.collections.inorder
- org.javimmutable.collections.iterators - package org.javimmutable.collections.iterators
- org.javimmutable.collections.list - package org.javimmutable.collections.list
- org.javimmutable.collections.listmap - package org.javimmutable.collections.listmap
- org.javimmutable.collections.serialization - package org.javimmutable.collections.serialization
- org.javimmutable.collections.setmap - package org.javimmutable.collections.setmap
- org.javimmutable.collections.tree - package org.javimmutable.collections.tree
- org.javimmutable.collections.util - package org.javimmutable.collections.util
P
- parallelStream() - Method in interface org.javimmutable.collections.IStreamable
- plainIterable(Iterable<T>) - Static method in class org.javimmutable.collections.iterators.IteratorHelper
-
Utility method, useful in unit tests, that essentially casts away actual type of an object so that Iterable version of an overload is triggered instead of more specific class.
- prefix(int) - Method in class org.javimmutable.collections.deque.ArrayDeque
- prefix(int) - Method in interface org.javimmutable.collections.IDeque
-
Return the (possibly empty) list containing the first limit values.
- prefix(int) - Method in interface org.javimmutable.collections.IList
-
Return the (possibly empty) list containing the first limit values.
- prefix(int) - Method in interface org.javimmutable.collections.Indexed
- prefix(int) - Method in class org.javimmutable.collections.list.TreeList
- prefix(ArrayHelper.Allocator<T>, T[], int) - Static method in class org.javimmutable.collections.common.ArrayHelper
-
Returns a copy of orig containing of length limit containing all values from [0,limit).
- prefixInsert(ArrayHelper.Allocator<T>, T[], int, int, T) - Static method in class org.javimmutable.collections.common.ArrayHelper
-
Returns a copy of orig containing of length limit+1 containing all values from [0,limit) but with value inserted at index and values after that shifted to the right.
- Proc0 - Interface in org.javimmutable.collections
-
Interface for lambdas that accept no parameter and return nothing.
- Proc0Throws<E> - Interface in org.javimmutable.collections
-
Interface for lambdas that accept 1 parameter and return nothing but might throw an exception.
- Proc1<A> - Interface in org.javimmutable.collections
-
Interface for lambdas that accept 1 parameter and return nothing.
- Proc1Throws<A,
E> - Interface in org.javimmutable.collections -
Interface for lambdas that accept 1 parameter and return nothing but might throw an exception.
- Proc2<A,
B> - Interface in org.javimmutable.collections -
Interface for lambdas that accept 2 parameters and return nothing.
- Proc2Throws<A,
B, - Interface in org.javimmutable.collectionsE> -
Interface for lambdas that accept 2 parameters and return nothing but might throw an exception.
- put(int, T) - Method in class org.javimmutable.collections.array.TrieArray.Builder
- put(int, T) - Method in class org.javimmutable.collections.array.TrieArrayBuilder
- put(int, T) - Method in interface org.javimmutable.collections.IArrayBuilder
-
Adds the specified value to the values included in the collection when build() is called.
- put(Integer, T) - Method in class org.javimmutable.collections.common.ArrayToMapAdaptor
- put(K, V) - Method in class org.javimmutable.collections.common.MapAdaptor
- putAll(Iterator<IMapEntry<Integer, ? extends T>>) - Method in interface org.javimmutable.collections.IArrayBuilder
-
Adds all values from the provided Iterator using the entry keys as indexes and the entry values as values.
- putAll(Map<? extends Integer, ? extends T>) - Method in class org.javimmutable.collections.common.ArrayToMapAdaptor
- putAll(Map<? extends K, ? extends V>) - Method in class org.javimmutable.collections.common.MapAdaptor
R
- RAListTimingComparison - Class in org.javimmutable.collections.list
- RAListTimingComparison() - Constructor for class org.javimmutable.collections.list.RAListTimingComparison
- range(int, int) - Static method in class org.javimmutable.collections.indexed.IndexedHelper
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.HashListMapProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.OrderedListMapProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.TreeListMapProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.TreeListProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.HashMapProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.OrderedMapProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.TreeMapProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.HashMultisetProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.OrderedMultisetProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.TreeMultisetProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.HashSetMapProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.OrderedSetMapProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.TemplateSetMapProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.TreeSetMapProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.HashSetProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.OrderedSetProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.TreeSetProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.ArrayDequeProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.ArrayProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.MaybeProxy
- readExternal(ObjectInput) - Method in class org.javimmutable.collections.serialization.NotNullProxy
- readMap(ObjectInput) - Method in class org.javimmutable.collections.serialization.HashListMapProxy
- readMap(ObjectInput) - Method in class org.javimmutable.collections.serialization.OrderedListMapProxy
- readMap(ObjectInput) - Method in class org.javimmutable.collections.serialization.HashMapProxy
- readMap(ObjectInput) - Method in class org.javimmutable.collections.serialization.OrderedMapProxy
- readMap(ObjectInput) - Method in class org.javimmutable.collections.serialization.HashSetMapProxy
- readMap(ObjectInput) - Method in class org.javimmutable.collections.serialization.OrderedSetMapProxy
- readMap(ObjectInput) - Method in class org.javimmutable.collections.serialization.TemplateSetMapProxy
- readMap(ObjectInput) - Method in class org.javimmutable.collections.serialization.TreeListMapProxy
- readMap(ObjectInput) - Method in class org.javimmutable.collections.serialization.TreeMapProxy
- readMap(ObjectInput) - Method in class org.javimmutable.collections.serialization.TreeSetMapProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.HashListMapProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.OrderedListMapProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.TreeListMapProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.TreeListProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.HashMapProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.OrderedMapProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.TreeMapProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.HashMultisetProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.OrderedMultisetProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.TreeMultisetProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.HashSetMapProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.OrderedSetMapProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.TemplateSetMapProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.TreeSetMapProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.HashSetProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.OrderedSetProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.TreeSetProxy
- readResolve() - Method in class org.javimmutable.collections.serialization.ArrayDequeProxy
- readSet(ObjectInput) - Method in class org.javimmutable.collections.serialization.HashMultisetProxy
- readSet(ObjectInput) - Method in class org.javimmutable.collections.serialization.OrderedMultisetProxy
- readSet(ObjectInput) - Method in class org.javimmutable.collections.serialization.HashSetProxy
- readSet(ObjectInput) - Method in class org.javimmutable.collections.serialization.OrderedSetProxy
- readSet(ObjectInput) - Method in class org.javimmutable.collections.serialization.TreeMultisetProxy
- readSet(ObjectInput) - Method in class org.javimmutable.collections.serialization.TreeSetProxy
- reduce(CollisionMap.Node, R, Sum2<K, V, R>) - Method in interface org.javimmutable.collections.common.CollisionMap
- reduce(CollisionMap.Node, R, Sum2<K, V, R>) - Method in class org.javimmutable.collections.list.ListCollisionMap
- reduce(CollisionMap.Node, R, Sum2<K, V, R>) - Method in class org.javimmutable.collections.tree.TreeCollisionMap
- reduce(CollisionSet.Node, R, Sum1<T, R>) - Method in interface org.javimmutable.collections.common.CollisionSet
- reduce(CollisionSet.Node, R, Sum1<T, R>) - Method in class org.javimmutable.collections.list.ListCollisionSet
- reduce(CollisionSet.Node, R, Sum1<T, R>) - Method in class org.javimmutable.collections.tree.TreeCollisionSet
- reduce(R, Iterable<A>, Iterable<B>, Sum2<A, B, R>) - Static method in class org.javimmutable.collections.util.Zip
- reduce(R, Sum2<K, V, R>) - Method in class org.javimmutable.collections.hash.HashMap
- reduce(R, Sum2<K, V, R>) - Method in interface org.javimmutable.collections.IMap
-
Processes every key value pair in this map using the provided function to produce a value.
- reduce(R, Sum2<K, V, R>) - Method in class org.javimmutable.collections.tree.TreeMap
- reduce(V, Func2<V, T, V>) - Method in class org.javimmutable.collections.list.TreeList
- reduce(V, Func2<V, T, V>) - Method in interface org.javimmutable.collections.SplitableIterable
-
Apply the specified accumulator to all elements in iterator order calling the accumulator function for each element.
- reduceThrows(CollisionMap.Node, R, Sum2Throws<K, V, R, E>) - Method in interface org.javimmutable.collections.common.CollisionMap
- reduceThrows(CollisionMap.Node, R, Sum2Throws<K, V, R, E>) - Method in class org.javimmutable.collections.list.ListCollisionMap
- reduceThrows(CollisionMap.Node, R, Sum2Throws<K, V, R, E>) - Method in class org.javimmutable.collections.tree.TreeCollisionMap
- reduceThrows(CollisionSet.Node, R, Sum1Throws<T, R, E>) - Method in interface org.javimmutable.collections.common.CollisionSet
- reduceThrows(CollisionSet.Node, R, Sum1Throws<T, R, E>) - Method in class org.javimmutable.collections.list.ListCollisionSet
- reduceThrows(CollisionSet.Node, R, Sum1Throws<T, R, E>) - Method in class org.javimmutable.collections.tree.TreeCollisionSet
- reduceThrows(R, Iterable<A>, Iterable<B>, Sum2Throws<A, B, R, E>) - Static method in class org.javimmutable.collections.util.Zip
- reduceThrows(R, Sum2Throws<K, V, R, E>) - Method in class org.javimmutable.collections.hash.HashMap
- reduceThrows(R, Sum2Throws<K, V, R, E>) - Method in interface org.javimmutable.collections.IMap
-
Processes every key value pair in this map using the provided function to produce a value.
- reduceThrows(R, Sum2Throws<K, V, R, E>) - Method in class org.javimmutable.collections.tree.TreeMap
- reduceThrows(V, Sum1Throws<T, V, E>) - Method in class org.javimmutable.collections.list.TreeList
- reduceThrows(V, Sum1Throws<T, V, E>) - Method in interface org.javimmutable.collections.SplitableIterable
- reject(BiPredicate<K, V>) - Method in class org.javimmutable.collections.common.AbstractMap
- reject(BiPredicate<K, V>) - Method in interface org.javimmutable.collections.IMap
-
Returns a map of the same type as this containing all those elements for which predicate returns false.
- reject(Predicate<? super T>) - Method in class org.javimmutable.collections.Maybe
-
Returns this if this is full and predicate returns false.
- reject(Predicate<? super T>) - Method in class org.javimmutable.collections.NotNull
-
Returns this if this is full and predicate returns false.
- reject(Predicate<T>) - Method in class org.javimmutable.collections.deque.ArrayDeque
- reject(Predicate<T>) - Method in interface org.javimmutable.collections.IDeque
-
Returns a list of the same type as this containing all those elements for which predicate returns false.
- reject(Predicate<T>) - Method in interface org.javimmutable.collections.IList
-
Returns a list of the same type as this containing all those elements for which predicate returns false.
- reject(Predicate<T>) - Method in interface org.javimmutable.collections.ISet
-
Returns a set of the same type as this containing all those elements for which predicate returns false.
- reject(Predicate<T>) - Method in class org.javimmutable.collections.list.TreeList
- remainderFromHashCode(int) - Static method in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- remainderFromHashCode(long) - Static method in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- remove(Object) - Method in class org.javimmutable.collections.common.ArrayToMapAdaptor
- remove(Object) - Method in class org.javimmutable.collections.common.MapAdaptor
- removeBit(long, long) - Static method in class org.javimmutable.collections.common.BitmaskMath
- repeating(T, int) - Static method in class org.javimmutable.collections.indexed.IndexedHelper
- reset() - Method in class org.javimmutable.collections.array.TrieArrayBuilder
- Result<T> - Class in org.javimmutable.collections
-
Container for the result of some computation.
- Result.Failure<T> - Class in org.javimmutable.collections
- Result.Success<T> - Class in org.javimmutable.collections
- retained(List<? extends T>) - Static method in class org.javimmutable.collections.indexed.IndexedList
-
Produces an instance using the provided List.
- retained(T[]) - Static method in class org.javimmutable.collections.indexed.IndexedArray
-
Produces an instance using the provided array.
- rev(Indexed<T>) - Static method in class org.javimmutable.collections.iterators.IndexedIterator
- reverse() - Method in class org.javimmutable.collections.deque.ArrayDeque
- reverse() - Method in interface org.javimmutable.collections.IDeque
-
Returns a list containing the same elements as this list but with their order reversed so that first in this list is last in returned list etc.
- reverse() - Method in interface org.javimmutable.collections.IList
-
Returns a list containing the same elements as this list but with their order reversed so that first in this list is last in returned list etc.
- reverse() - Method in class org.javimmutable.collections.list.TreeList
- reverse(Iterator<? extends T>) - Static method in class org.javimmutable.collections.iterators.IteratorHelper
- reverse(Iterator<? extends T>) - Static method in class org.javimmutable.collections.util.Functions
-
Creates a new Iterator whose values are in the reverse order of the provided Iterator.
- reverse(List<T>) - Static method in class org.javimmutable.collections.iterators.IndexedIterator
- reverse(ArrayHelper.Allocator<T>, T[]) - Static method in class org.javimmutable.collections.common.ArrayHelper
- reverse(Indexed<T>) - Static method in class org.javimmutable.collections.iterators.IndexedIterator
- reversed() - Method in interface org.javimmutable.collections.Indexed
S
- select(BiPredicate<K, V>) - Method in class org.javimmutable.collections.common.AbstractMap
- select(BiPredicate<K, V>) - Method in interface org.javimmutable.collections.IMap
-
Returns a map of the same type as this containing only those elements for which predicate returns true.
- select(Predicate<? super T>) - Method in class org.javimmutable.collections.Maybe
-
Returns this if this is full and predicate returns true.
- select(Predicate<? super T>) - Method in class org.javimmutable.collections.NotNull
-
Returns this if this is full and predicate returns true.
- select(Predicate<T>) - Method in class org.javimmutable.collections.deque.ArrayDeque
- select(Predicate<T>) - Method in interface org.javimmutable.collections.IDeque
-
Returns a list of the same type as this containing only those elements for which predicate returns true.
- select(Predicate<T>) - Method in interface org.javimmutable.collections.IList
-
Returns a list of the same type as this containing only those elements for which predicate returns true.
- select(Predicate<T>) - Method in interface org.javimmutable.collections.ISet
-
Returns a set of the same type as this containing only those elements for which predicate returns true.
- select(Predicate<T>) - Method in class org.javimmutable.collections.list.TreeList
- set - Variable in class org.javimmutable.collections.serialization.HashMultisetProxy
- set - Variable in class org.javimmutable.collections.serialization.OrderedMultisetProxy
- set - Variable in class org.javimmutable.collections.serialization.TreeMultisetProxy
- set - Variable in class org.javimmutable.collections.serialization.HashSetProxy
- set - Variable in class org.javimmutable.collections.serialization.OrderedSetProxy
- set - Variable in class org.javimmutable.collections.serialization.TreeSetProxy
- SetAdaptor<T> - Class in org.javimmutable.collections.common
-
Adaptor that implements an unmodifiable Set backed by a
ISet
. - SetAdaptor(ISet<T>) - Constructor for class org.javimmutable.collections.common.SetAdaptor
- setCollector() - Method in class org.javimmutable.collections.inorder.OrderedMultiset
- setCollector() - Method in class org.javimmutable.collections.inorder.OrderedSet
- setCollector() - Method in interface org.javimmutable.collections.ISet
-
Returns a Collector that creates a set of the same type as this containing all of the collected values inserted over whatever starting values this already contained.
- setCount(T, int) - Method in class org.javimmutable.collections.common.AbstractMultiset
- setCount(T, int) - Method in interface org.javimmutable.collections.IMultiset
-
Manually sets the number of occurrences associated with the specified value.
- setMapCollector() - Method in interface org.javimmutable.collections.ISetMap
-
Returns a Collector that creates a setMap of the same type as this containing all of the collected values inserted over whatever starting values this already contained.
- SetMapFactory<K,
V> - Class in org.javimmutable.collections.setmap - SetMapFactory() - Constructor for class org.javimmutable.collections.setmap.SetMapFactory
- setNextIndex(int) - Method in class org.javimmutable.collections.array.TrieArray.Builder
- setNextIndex(int) - Method in class org.javimmutable.collections.array.TrieArrayBuilder
- setNextIndex(int) - Method in interface org.javimmutable.collections.IArrayBuilder
-
Sets the index at which next call to add() will insert the value.
- setValue(V) - Method in class org.javimmutable.collections.MapEntry
- shift(int, int) - Static method in class org.javimmutable.collections.common.IntArrayMappedTrieMath
- shift(int, long) - Static method in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- SimpleTransformIterator<S,
T> - Class in org.javimmutable.collections.iterators - SimpleTransformIterator(Iterator<S>, Function<S, T>) - Constructor for class org.javimmutable.collections.iterators.SimpleTransformIterator
- single() - Method in interface org.javimmutable.collections.IDeque
-
Returns a Holder containing a value if this list contains only a single value and that value is non-null.
- single(K, V) - Method in interface org.javimmutable.collections.common.CollisionMap
- single(K, V) - Method in class org.javimmutable.collections.list.ListCollisionMap
- single(K, V) - Method in class org.javimmutable.collections.tree.TreeCollisionMap
- single(T) - Method in interface org.javimmutable.collections.common.CollisionSet
- single(T) - Method in class org.javimmutable.collections.list.ListCollisionSet
- single(T) - Method in class org.javimmutable.collections.tree.TreeCollisionSet
- singleValueIterable(T) - Static method in class org.javimmutable.collections.iterators.GenericIterator
-
Returns an Iterable for iterating a single value.
- SingleValueIterator<T> - Class in org.javimmutable.collections.iterators
- singleValueState(GenericIterator.State<T>, T, int, int) - Static method in class org.javimmutable.collections.iterators.GenericIterator
-
Returns a State for iterating a single value.
- size() - Method in class org.javimmutable.collections.array.TrieArray.Builder
- size() - Method in class org.javimmutable.collections.array.TrieArray
- size() - Method in class org.javimmutable.collections.array.TrieArrayBuilder
- size() - Method in class org.javimmutable.collections.array.TrieArrayNode
- size() - Method in class org.javimmutable.collections.array.TrieLongArrayNode
- size() - Method in class org.javimmutable.collections.common.AbstractMultiset
- size() - Method in class org.javimmutable.collections.common.AbstractSetUsingMap
- size() - Method in class org.javimmutable.collections.common.ArrayToMapAdaptor
- size() - Method in class org.javimmutable.collections.common.DequeListAdaptor
- size() - Method in class org.javimmutable.collections.common.GenericSetBuilder
- size() - Method in class org.javimmutable.collections.common.ListAdaptor
- size() - Method in class org.javimmutable.collections.common.MapAdaptor
- size() - Method in class org.javimmutable.collections.common.SetAdaptor
- size() - Method in class org.javimmutable.collections.common.Subindexed
- size() - Method in class org.javimmutable.collections.deque.ArrayDeque.Builder
- size() - Method in class org.javimmutable.collections.deque.ArrayDeque
- size() - Method in class org.javimmutable.collections.hash.EmptyHashMap
- size() - Method in class org.javimmutable.collections.hash.EmptyHashSet
- size() - Method in class org.javimmutable.collections.hash.HashMap.Builder
- size() - Method in class org.javimmutable.collections.hash.HashMap
- size() - Method in class org.javimmutable.collections.hash.HashSet
- size() - Method in interface org.javimmutable.collections.IArrayBuilder
-
Determines how many values will be in the collection if build() is called now.
- size() - Method in interface org.javimmutable.collections.ICollection
- size() - Method in interface org.javimmutable.collections.IDequeBuilder
-
Determines how many values will be in the collection if build() is called now.
- size() - Method in interface org.javimmutable.collections.IListBuilder
-
Determines how many values will be in the collection if build() is called now.
- size() - Method in interface org.javimmutable.collections.IMapBuilder
- size() - Method in interface org.javimmutable.collections.IMultiset
- size() - Method in class org.javimmutable.collections.indexed.IndexedArray
- size() - Method in class org.javimmutable.collections.indexed.IndexedList
- size() - Method in interface org.javimmutable.collections.Indexed
-
Retrieve the number of values available in the container.
- size() - Method in class org.javimmutable.collections.inorder.OrderedMap
- size() - Method in interface org.javimmutable.collections.ISetBuilder
-
Determines how many values will be in the collection if build() is called now.
- size() - Method in interface org.javimmutable.collections.ISetMap
-
Return the number of keys in the map.
- size() - Method in class org.javimmutable.collections.list.TreeList.ListBuilder
- size() - Method in class org.javimmutable.collections.list.TreeList
- size() - Method in class org.javimmutable.collections.listmap.HashListMap
- size() - Method in class org.javimmutable.collections.listmap.OrderedListMap
- size() - Method in class org.javimmutable.collections.listmap.TreeListMap
- size() - Method in class org.javimmutable.collections.setmap.HashSetMap
- size() - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- size() - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- size() - Method in class org.javimmutable.collections.setmap.TreeSetMap
- size() - Method in class org.javimmutable.collections.tree.TreeMap
- size(CollisionMap.Node) - Method in interface org.javimmutable.collections.common.CollisionMap
- size(CollisionMap.Node) - Method in class org.javimmutable.collections.list.ListCollisionMap
- size(CollisionMap.Node) - Method in class org.javimmutable.collections.tree.TreeCollisionMap
- size(CollisionMap<K, V>) - Method in interface org.javimmutable.collections.hash.map.ArrayMapNode
- size(CollisionMap<K, V>) - Method in class org.javimmutable.collections.hash.map.ArrayMultiValueMapNode
- size(CollisionMap<K, V>) - Method in class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- size(CollisionSet.Node) - Method in interface org.javimmutable.collections.common.CollisionSet
- size(CollisionSet.Node) - Method in class org.javimmutable.collections.list.ListCollisionSet
- size(CollisionSet.Node) - Method in class org.javimmutable.collections.tree.TreeCollisionSet
- size(CollisionSet<T>) - Method in class org.javimmutable.collections.hash.set.ArrayMultiValueSetNode
- size(CollisionSet<T>) - Method in interface org.javimmutable.collections.hash.set.ArraySetNode
- size(CollisionSet<T>) - Method in class org.javimmutable.collections.hash.set.ArraySingleValueSetNode
- slice(int, int) - Method in interface org.javimmutable.collections.IList
-
Return the (possibly empty) list containing the values starting at offset (inclusive) and including all remaining items up to but excluding the value at index limit.
- slice(int, int) - Method in class org.javimmutable.collections.list.TreeList
- sort(C, Function<U, T>) - Method in class org.javimmutable.collections.common.ExpectedOrderSorter
-
Creates a new List containing all of the elements of collection sorted based on the Iterator.
- sort(Iterator<U>, Function<U, T>) - Method in class org.javimmutable.collections.common.ExpectedOrderSorter
-
Creates a new List containing all of the elements of collection sorted based on the Iterator.
- sorted() - Static method in class org.javimmutable.collections.IListMaps
-
Creates a list map with keys sorted by their natural ordering.
- sorted() - Static method in class org.javimmutable.collections.IMaps
-
Constructs an empty map that sorts keys in their natural sort order (using ComparableComparator).
- sorted() - Static method in class org.javimmutable.collections.IMultisets
-
Constructs an empty set that sorts values in their natural sort order (using ComparableComparator).
- sorted() - Static method in class org.javimmutable.collections.ISetMaps
-
Creates a set map with keys sorted by their natural ordering.
- sorted() - Static method in class org.javimmutable.collections.ISets
-
Constructs an empty set that sorts values in their natural sort order (using ComparableComparator).
- sorted(Iterable<? extends T>) - Static method in class org.javimmutable.collections.IMultisets
-
Constructs a multiset containing all of the values in source that sorts values in their natural sort order (using ComparableComparator).
- sorted(Iterable<? extends T>) - Static method in class org.javimmutable.collections.ISets
-
Constructs a set containing all of the values in source that sorts values in their natural sort order (using ComparableComparator).
- sorted(Comparator<K>) - Static method in class org.javimmutable.collections.IListMaps
-
Creates a list map with keys sorted by the specified Comparator.
- sorted(Comparator<K>) - Static method in class org.javimmutable.collections.IMaps
-
Constructs a map that sorts keys using the specified Comparator.
- sorted(Comparator<K>) - Static method in class org.javimmutable.collections.ISetMaps
-
Creates a set map with keys sorted by the specified Comparator.
- sorted(Comparator<K>, Map<K, V>) - Static method in class org.javimmutable.collections.IMaps
-
Constructs a map that sorts keys using the specified Comparator.
- sorted(Comparator<K>, IMap<K, V>) - Static method in class org.javimmutable.collections.IMaps
-
Constructs a map that sorts keys using the specified Comparator.
- sorted(Comparator<T>) - Static method in class org.javimmutable.collections.IMultisets
-
Constructs an empty multiset that sorts values using comparator.
- sorted(Comparator<T>) - Static method in class org.javimmutable.collections.ISets
-
Constructs an empty set that sorts values using comparator.
- sorted(Comparator<T>, Iterable<? extends T>) - Static method in class org.javimmutable.collections.IMultisets
-
Constructs a multiset containing all of the values in source that sorts values using comparator.
- sorted(Comparator<T>, Iterable<? extends T>) - Static method in class org.javimmutable.collections.ISets
-
Constructs a set containing all of the values in source that sorts values using comparator.
- sorted(Comparator<T>, Iterator<? extends T>) - Static method in class org.javimmutable.collections.IMultisets
-
Constructs a multiset containing all of the values in source that sorts values using comparator.
- sorted(Comparator<T>, Iterator<? extends T>) - Static method in class org.javimmutable.collections.ISets
-
Constructs a set containing all of the values in source that sorts values using comparator.
- sorted(Comparator<T>, T...) - Static method in class org.javimmutable.collections.IMultisets
-
Constructs a multiset containing all of the values in source that sorts values using comparator.
- sorted(Comparator<T>, T...) - Static method in class org.javimmutable.collections.ISets
-
Constructs a set containing all of the values in source that sorts values using comparator.
- sorted(Iterator<? extends T>) - Static method in class org.javimmutable.collections.IMultisets
-
Constructs a multiset containing all of the values in source that sorts values in their natural sort order (using ComparableComparator).
- sorted(Iterator<? extends T>) - Static method in class org.javimmutable.collections.ISets
-
Constructs a set containing all of the values in source that sorts values in their natural sort order (using ComparableComparator).
- sorted(Map<K, V>) - Static method in class org.javimmutable.collections.IMaps
-
Constructs a map that sorts keys in their natural sort order (using ComparableComparator).
- sorted(IMap<K, V>) - Static method in class org.javimmutable.collections.IMaps
-
Constructs a map that sorts keys in their natural sort order (using ComparableComparator).
- sorted(T...) - Static method in class org.javimmutable.collections.IMultisets
-
Constructs a multiset containing all of the values in source that sorts values in their natural sort order (using ComparableComparator).
- sorted(T...) - Static method in class org.javimmutable.collections.ISets
-
Constructs a set containing all of the values in source that sorts values in their natural sort order (using ComparableComparator).
- sortedBuilder() - Static method in class org.javimmutable.collections.IMaps
-
Create a Builder to construct sorted maps using the natural order of the keys.
- sortedBuilder() - Static method in class org.javimmutable.collections.ISets
-
Constructs a Builder object to produce sets that sort values in their natural sort order (using ComparableComparator).
- sortedBuilder(Comparator<K>) - Static method in class org.javimmutable.collections.IMaps
-
Create a Builder to construct sorted maps using the specified Comparator for keys.
- sortedBuilder(Comparator<T>) - Static method in class org.javimmutable.collections.ISets
-
Constructs a Builder object to produce sets that sort values using specified Comparator.
- SplitableIterable<T> - Interface in org.javimmutable.collections
-
Extension of Iterable for objects whose iterator method returns a SplitableIterator.
- SplitableIterator<T> - Interface in org.javimmutable.collections
-
Merges the concepts of Spliterator and Iterator.
- spliterator() - Method in class org.javimmutable.collections.common.DequeListAdaptor
- spliterator() - Method in class org.javimmutable.collections.common.ListAdaptor
- spliterator() - Method in interface org.javimmutable.collections.IStreamable
-
Default implementation that creates a Spliterator from a newly created Iterator.
- spliterator(int) - Method in class org.javimmutable.collections.iterators.AbstractSplitableIterator
-
Returns a Spliterator with the specified characteristics that use this Iterator to visit all elements.
- spliterator(int) - Method in class org.javimmutable.collections.iterators.EmptyIterator
- spliterator(int) - Method in interface org.javimmutable.collections.SplitableIterator
-
Utility method that creates a Spliterator with the specified characteristics that encounters all of the same elements as this Iterator.
- SPLITERATOR_ORDERED - Static variable in class org.javimmutable.collections.common.StreamConstants
- SPLITERATOR_UNORDERED - Static variable in class org.javimmutable.collections.common.StreamConstants
- splitIterator() - Method in class org.javimmutable.collections.iterators.GenericIterator
- splitIterator() - Method in class org.javimmutable.collections.iterators.LazyMultiIterator
- splitIterator() - Method in class org.javimmutable.collections.iterators.TransformIterator
- splitIterator() - Method in interface org.javimmutable.collections.SplitableIterator
-
Whenever isSplitAllowed returns true this method can be used to create two new SplitableIterators that collectively visit all the same elements as this Iterator.
- SplitIterator<T> - Class in org.javimmutable.collections
-
Container object holding two SplitableIterators.
- SplitIterator(SplitableIterator<T>, SplitableIterator<T>) - Constructor for class org.javimmutable.collections.SplitIterator
- stopNull(Object) - Static method in class org.javimmutable.collections.common.Conditions
- stopNull(Object, Object) - Static method in class org.javimmutable.collections.common.Conditions
- stopNull(Object, Object, Object) - Static method in class org.javimmutable.collections.common.Conditions
- stopNull(Object, Object, Object, Object) - Static method in class org.javimmutable.collections.common.Conditions
- stream() - Method in interface org.javimmutable.collections.IStreamable
- streamable() - Static method in class org.javimmutable.collections.iterators.EmptyIterator
- streamable(int) - Method in interface org.javimmutable.collections.iterators.GenericIterator.Iterable
- StreamConstants - Class in org.javimmutable.collections.common
- StreamConstants() - Constructor for class org.javimmutable.collections.common.StreamConstants
- subArray(ArrayHelper.Allocator<T>, T[], int, int) - Static method in class org.javimmutable.collections.common.ArrayHelper
-
Allocate a new array containing the subarray of orig starting at offset and ending before limit.
- subArray(ArrayHelper.Allocator<T>, T[], T[], int, int) - Static method in class org.javimmutable.collections.common.ArrayHelper
-
Allocate an array containing values from a logical array formed by concatenating the two input arrays.
- Subindexed<T> - Class in org.javimmutable.collections.common
-
Wrapper for an Indexed that only provides access to a portion of the full Indexed's values.
- Subindexed(Indexed<? extends T>, int, int) - Constructor for class org.javimmutable.collections.common.Subindexed
- subtract(int) - Method in class org.javimmutable.collections.common.MutableDelta
- success(T) - Static method in class org.javimmutable.collections.Computation
-
Produce a
Computation
that simply returns the value. - success(T) - Static method in class org.javimmutable.collections.Result
-
Creates a successful
Result
containing the given value. - suffix(int) - Method in class org.javimmutable.collections.deque.ArrayDeque
- suffix(int) - Method in interface org.javimmutable.collections.IDeque
-
Return the (possibly empty) list containing the values starting at offset (inclusive) and including all remaining items.
- suffix(int) - Method in interface org.javimmutable.collections.IList
-
Return the (possibly empty) list containing the values starting at offset (inclusive) and including all remaining items.
- suffix(int) - Method in class org.javimmutable.collections.list.TreeList
- suffix(ArrayHelper.Allocator<T>, T[], int) - Static method in class org.javimmutable.collections.common.ArrayHelper
-
Returns a copy of orig containing of length orig.length-offset containing all values from [offset,orig.length).
- suffixInsert(ArrayHelper.Allocator<T>, T[], int, int, T) - Static method in class org.javimmutable.collections.common.ArrayHelper
-
Returns a copy of orig containing of length orig.length-offset containing all values from [offset,orig.length) but with value inserted at index relative to orig (index-offset relative to resulting array) and all values past that point shifted to the right.
- Sum1<A,
R> - Interface in org.javimmutable.collections -
Interface for lambdas that accept a result parameter and a value parameter and return a value of the same type as the result parameter.
- Sum1Throws<A,
R, - Interface in org.javimmutable.collectionsE> -
Interface for lambdas that accept a result parameter and 1 value parameter and return a value of the same type as the result parameter or might throw an exception.
- Sum2<A,
B, - Interface in org.javimmutable.collectionsR> -
Interface for lambdas that accept a result parameter and 2 value parameters and return a value of the same type as the result parameter.
- Sum2Throws<A,
B, - Interface in org.javimmutable.collectionsR, E> -
Interface for lambdas that accept a result parameter and 2 value parameters and return a value of the same type as the result parameter or might throw an exception.
T
- Temp - Class in org.javimmutable.collections
-
Collection of useful temporary object classes.
- Temp() - Constructor for class org.javimmutable.collections.Temp
- Temp.Int1 - Class in org.javimmutable.collections
- Temp.Val1<A> - Class in org.javimmutable.collections
- Temp.Val2<A,
B> - Class in org.javimmutable.collections - Temp.Val3<A,
B, - Class in org.javimmutable.collectionsC> - Temp.Val4<A,
B, - Class in org.javimmutable.collectionsC, D> - Temp.Var1<X> - Class in org.javimmutable.collections
- Temp.Var2<X,
Y> - Class in org.javimmutable.collections - Temp.Var3<X,
Y, - Class in org.javimmutable.collectionsZ> - Temp.Var4<W,
X, - Class in org.javimmutable.collectionsY, Z> - templated(IMap<K, ISet<V>>, ISet<V>) - Static method in class org.javimmutable.collections.ISetMaps
-
Creates a set map using the provided templates for map and set.
- TemplateSetMap<K,
V> - Class in org.javimmutable.collections.setmap -
ISetMap
implementation that uses arbitrary Map and Set templates. - TemplateSetMapProxy - Class in org.javimmutable.collections.serialization
-
Serialization proxy class to safely serialize immutable collection.
- TemplateSetMapProxy() - Constructor for class org.javimmutable.collections.serialization.TemplateSetMapProxy
- TemplateSetMapProxy(TemplateSetMap) - Constructor for class org.javimmutable.collections.serialization.TemplateSetMapProxy
- TimingComparison - Class in org.javimmutable.collections.tree
- TimingLoop - Class in org.javimmutable.collections.hash
- toArray() - Static method in class org.javimmutable.collections.ICollectors
-
Collects values into a
IArray
. - toBuilder() - Method in class org.javimmutable.collections.array.TrieArray
- toBuilder() - Method in interface org.javimmutable.collections.IArray
-
Creates and returns a new Builder object for the same value type as this array.
- toDeque() - Static method in class org.javimmutable.collections.ICollectors
-
Collects values into a IDeque.
- toIMapEntries(Collection<Map.Entry<K, V>>) - Static method in class org.javimmutable.collections.MapEntry
- toList() - Static method in class org.javimmutable.collections.ICollectors
-
Efficiently collects values into a
IList
built atop a balanced binary tree. - toListMap() - Static method in class org.javimmutable.collections.ICollectors
- toMap() - Static method in class org.javimmutable.collections.ICollectors
-
Creates a Collector suitable for use in the stream to produce a map.
- toMapEntries(Collection<IMapEntry<K, V>>) - Static method in class org.javimmutable.collections.MapEntry
- toMultiset() - Static method in class org.javimmutable.collections.ICollectors
-
Collects into a multiset that sorts values based on the order they were originally added to the set.
- toOrderedListMap() - Static method in class org.javimmutable.collections.ICollectors
- toOrderedMap() - Static method in class org.javimmutable.collections.ICollectors
-
Creates a Collector suitable for use in the stream to produce an insert order map.
- toOrderedMultiset() - Static method in class org.javimmutable.collections.ICollectors
-
Collects into a multiset that sorts values based on the order they were originally added to the set.
- toOrderedSet() - Static method in class org.javimmutable.collections.ICollectors
-
Collects into a set that sorts values based on the order they were originally added to the set.
- toOrderedSetMap() - Static method in class org.javimmutable.collections.ICollectors
- toSet() - Static method in class org.javimmutable.collections.ICollectors
-
Collects into an unsorted set to the set.
- toSetMap() - Static method in class org.javimmutable.collections.ICollectors
- toSortedListMap() - Static method in class org.javimmutable.collections.ICollectors
- toSortedListMap(Comparator<K>) - Static method in class org.javimmutable.collections.ICollectors
- toSortedMap() - Static method in class org.javimmutable.collections.ICollectors
-
Creates a Collector suitable for use in the stream to produce a sorted map.
- toSortedMap(Comparator<K>) - Static method in class org.javimmutable.collections.ICollectors
-
Creates a Collector suitable for use in the stream to produce a sorted map.
- toSortedMultiset() - Static method in class org.javimmutable.collections.ICollectors
-
Collects values into a sorted
IMultiset
using natural sort order of elements. - toSortedMultiset(Comparator<T>) - Static method in class org.javimmutable.collections.ICollectors
-
Collects values into a sorted
IMultiset
using specified Comparator. - toSortedSet() - Static method in class org.javimmutable.collections.ICollectors
-
Collects values into a sorted
ISet
using natural sort order of elements. - toSortedSet(Comparator<T>) - Static method in class org.javimmutable.collections.ICollectors
-
Collects values into a sorted
ISet
using specified Comparator. - toSortedSetMap() - Static method in class org.javimmutable.collections.ICollectors
- toSortedSetMap(Comparator<K>) - Static method in class org.javimmutable.collections.ICollectors
- toString() - Method in class org.javimmutable.collections.array.TrieArray
- toString() - Method in class org.javimmutable.collections.common.AbstractMap
- toString() - Method in class org.javimmutable.collections.common.AbstractMultiset
- toString() - Method in class org.javimmutable.collections.common.AbstractSet
- toString() - Method in class org.javimmutable.collections.deque.ArrayDeque
- toString() - Method in class org.javimmutable.collections.list.TreeList
- toString() - Method in class org.javimmutable.collections.listmap.HashListMap
- toString() - Method in class org.javimmutable.collections.listmap.OrderedListMap
- toString() - Method in class org.javimmutable.collections.listmap.TreeListMap
- toString() - Method in class org.javimmutable.collections.MapEntry
- toString() - Method in class org.javimmutable.collections.setmap.HashSetMap
- toString() - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- toString() - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- toString() - Method in class org.javimmutable.collections.setmap.TreeSetMap
- toString() - Method in class org.javimmutable.collections.tree.LeafNode
- ToStringHelper - Class in org.javimmutable.collections.common
- ToStringHelper() - Constructor for class org.javimmutable.collections.common.ToStringHelper
- transform(K, Func1<IList<V>, IList<V>>) - Method in interface org.javimmutable.collections.IListMap
-
Apply the specified transform function to the List assigned to the specified key and assign the result to the key in this map.
- transform(K, Func1<ISet<V>, ISet<V>>) - Method in interface org.javimmutable.collections.ISetMap
-
Apply the specified transform function to the Set assigned to the specified key and assign the result to the key in this map.
- transform(Func1<T, A>) - Method in class org.javimmutable.collections.deque.ArrayDeque
- transform(Func1<T, A>) - Method in interface org.javimmutable.collections.IDeque
-
Apply the transform function to all elements in iterator order and add each transformed value to a new collection of this type.
- transform(Func1<T, A>) - Method in interface org.javimmutable.collections.IList
-
Apply the transform function to all elements in iterator order and add each transformed value to a new collection of this type.
- transform(Func1<T, A>) - Method in class org.javimmutable.collections.list.TreeList
- transformed(Func1<T, U>) - Method in interface org.javimmutable.collections.Indexed
- transformed(Indexed<S>, Function<S, SplitableIterable<T>>) - Static method in class org.javimmutable.collections.iterators.LazyMultiIterator
-
Constructs an iterator that visits all of the values reachable from all of the SplitableIterables visited by source.
- transformed(SplitableIterator<S>, Function<S, SplitableIterable<T>>) - Static method in class org.javimmutable.collections.iterators.LazyMultiIterator
-
Constructs an iterator that visits all of the values reachable from all of the SplitableIterables visited by source.
- transformIfPresent(K, Func1<IList<V>, IList<V>>) - Method in interface org.javimmutable.collections.IListMap
-
Apply the specified transform function to the List assigned to the specified key and assign the result to the key in this map.
- transformIfPresent(K, Func1<ISet<V>, ISet<V>>) - Method in interface org.javimmutable.collections.ISetMap
-
Apply the specified transform function to the Set assigned to the specified key and assign the result to the key in this map.
- transformIterable(GenericIterator.Iterable<A>, Func1<A, B>) - Static method in class org.javimmutable.collections.iterators.GenericIterator
-
Returns an Iterable for iterating over another Iterable's values but transforming each of those values using a function before returning to its caller.
- TransformIterator<S,
T> - Class in org.javimmutable.collections.iterators - transformSome(Func1<T, Maybe<A>>) - Method in class org.javimmutable.collections.deque.ArrayDeque
- transformSome(Func1<T, Maybe<A>>) - Method in interface org.javimmutable.collections.IDeque
-
Apply the transform function to all elements in iterator order and add the contents of non-empty Holders to a new collection of this type.
- transformSome(Func1<T, Maybe<A>>) - Method in interface org.javimmutable.collections.IList
-
Apply the transform function to all elements in iterator order and add the contents of non-empty Holders to a new collection of this type.
- transformSome(Func1<T, Maybe<A>>) - Method in class org.javimmutable.collections.list.TreeList
- transformState(GenericIterator.State<B>, GenericIterator.State<A>, Func1<A, B>) - Static method in class org.javimmutable.collections.iterators.GenericIterator
-
Returns a State for iterating over another State's values but transforming each of those values using a function before returning to its caller.
- TransformStreamable<S,
T> - Class in org.javimmutable.collections.iterators - TreeCollisionMap<K,
V> - Class in org.javimmutable.collections.tree -
CollisionMap implementation that stores values in Node objects (balanced trees).
- TreeCollisionSet<T> - Class in org.javimmutable.collections.tree
-
CollisionSet implementation that stores values in Node objects (balanced trees).
- TreeList<T> - Class in org.javimmutable.collections.list
- TreeList.ListBuilder<T> - Class in org.javimmutable.collections.list
- TreeListMap<K,
V> - Class in org.javimmutable.collections.listmap -
IListMap
implementation that allows keys to be traversed in sorted order using a Comparator of the natural ordering of the keys if they implement Comparable. - TreeListMapProxy - Class in org.javimmutable.collections.serialization
-
Serialization proxy class to safely serialize immutable collection.
- TreeListMapProxy() - Constructor for class org.javimmutable.collections.serialization.TreeListMapProxy
- TreeListMapProxy(TreeListMap) - Constructor for class org.javimmutable.collections.serialization.TreeListMapProxy
- TreeListProxy - Class in org.javimmutable.collections.serialization
-
Serialization proxy class to safely serialize immutable collection.
- TreeListProxy() - Constructor for class org.javimmutable.collections.serialization.TreeListProxy
- TreeListProxy(TreeList) - Constructor for class org.javimmutable.collections.serialization.TreeListProxy
- TreeMap<K,
V> - Class in org.javimmutable.collections.tree - TreeMapProxy - Class in org.javimmutable.collections.serialization
-
Serialization proxy class to safely serialize immutable collection.
- TreeMapProxy() - Constructor for class org.javimmutable.collections.serialization.TreeMapProxy
- TreeMapProxy(TreeMap) - Constructor for class org.javimmutable.collections.serialization.TreeMapProxy
- TreeMultiset<T> - Class in org.javimmutable.collections.tree
- TreeMultisetProxy - Class in org.javimmutable.collections.serialization
-
Serialization proxy class to safely serialize immutable collection.
- TreeMultisetProxy() - Constructor for class org.javimmutable.collections.serialization.TreeMultisetProxy
- TreeMultisetProxy(TreeMultiset) - Constructor for class org.javimmutable.collections.serialization.TreeMultisetProxy
- TreeSet<T> - Class in org.javimmutable.collections.tree
- TreeSetMap<K,
V> - Class in org.javimmutable.collections.setmap -
ISetMap
implementation that allows keys to be traversed in sorted order using a Comparator of the natural ordering of the keys if they implement Comparable. - TreeSetMapProxy - Class in org.javimmutable.collections.serialization
-
Serialization proxy class to safely serialize immutable collection.
- TreeSetMapProxy() - Constructor for class org.javimmutable.collections.serialization.TreeSetMapProxy
- TreeSetMapProxy(TreeSetMap) - Constructor for class org.javimmutable.collections.serialization.TreeSetMapProxy
- TreeSetProxy - Class in org.javimmutable.collections.serialization
- TreeSetProxy() - Constructor for class org.javimmutable.collections.serialization.TreeSetProxy
- TreeSetProxy(TreeSet) - Constructor for class org.javimmutable.collections.serialization.TreeSetProxy
- TrieArray<T> - Class in org.javimmutable.collections.array
- TrieArray.Builder<T> - Class in org.javimmutable.collections.array
- TrieArrayBuilder<T> - Class in org.javimmutable.collections.array
- TrieArrayBuilder() - Constructor for class org.javimmutable.collections.array.TrieArrayBuilder
- TrieArrayNode<T> - Class in org.javimmutable.collections.array
-
Implements an array mapped trie using integers as keys.
- TrieLongArrayNode<T> - Class in org.javimmutable.collections.array
- Tuple2<A,
B> - Class in org.javimmutable.collections -
Immutable container for 2 values.
- Tuple2(A, B) - Constructor for class org.javimmutable.collections.Tuple2
- Tuple3<A,
B, - Class in org.javimmutable.collectionsC> -
Immutable container for 3 values.
- Tuple3(A, B, C) - Constructor for class org.javimmutable.collections.Tuple3
- Tuple4<A,
B, - Class in org.javimmutable.collectionsC, D> -
Immutable container for 4 values.
- Tuple4(A, B, C, D) - Constructor for class org.javimmutable.collections.Tuple4
U
- union(Iterable<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- union(Iterable<? extends T>) - Method in class org.javimmutable.collections.common.AbstractSet
- union(Iterable<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Combines all occurrences from other and the multiset.
- union(Iterable<? extends T>) - Method in interface org.javimmutable.collections.ISet
-
Adds all values from other to the Set.
- union(Iterator<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- union(Iterator<? extends T>) - Method in class org.javimmutable.collections.common.AbstractSetUsingMap
- union(Iterator<? extends T>) - Method in class org.javimmutable.collections.hash.EmptyHashSet
- union(Iterator<? extends T>) - Method in class org.javimmutable.collections.hash.HashSet
- union(Iterator<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Combines all occurrences from other and the multiset.
- union(Iterator<? extends T>) - Method in interface org.javimmutable.collections.ISet
-
Adds all values from other to the Set.
- union(K, Iterable<? extends V>) - Method in interface org.javimmutable.collections.ISetMap
-
Adds all values from other to the Set at key
- union(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- union(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- union(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- union(K, Iterable<? extends V>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- union(K, Iterator<? extends V>) - Method in interface org.javimmutable.collections.ISetMap
-
Adds all values from other to the Set at key
- union(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.HashSetMap
- union(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- union(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- union(K, Iterator<? extends V>) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- union(IMultiset<? extends T>) - Method in class org.javimmutable.collections.common.AbstractMultiset
- union(IMultiset<? extends T>) - Method in interface org.javimmutable.collections.IMultiset
-
Combines all occurrences from other and the multiset.
- unordered(C, C, Predicate<C>, Func2<C, T, C>, Func2<C, C, C>) - Static method in class org.javimmutable.collections.GenericCollector
- unsafeGet() - Method in class org.javimmutable.collections.Maybe
-
Gets this value.
- unsafeGet() - Method in class org.javimmutable.collections.NotNull
-
Gets this value.
- unsafeGet(Func0<E>) - Method in class org.javimmutable.collections.Maybe
-
Gets this value.
- unsafeGet(Func0<E>) - Method in class org.javimmutable.collections.NotNull
-
Gets this value.
- update(K, Func1<Maybe<V>, V>) - Method in class org.javimmutable.collections.hash.HashMap
- update(K, Func1<Maybe<V>, V>) - Method in interface org.javimmutable.collections.IMap
-
Update the value at the key.
- update(K, Func1<Maybe<V>, V>) - Method in class org.javimmutable.collections.tree.TreeMap
- update(CollisionMap.Node, K, Func1<Maybe<V>, V>) - Method in interface org.javimmutable.collections.common.CollisionMap
- update(CollisionMap.Node, K, Func1<Maybe<V>, V>) - Method in class org.javimmutable.collections.list.ListCollisionMap
- update(CollisionMap.Node, K, Func1<Maybe<V>, V>) - Method in class org.javimmutable.collections.tree.TreeCollisionMap
- update(CollisionMap.Node, K, V) - Method in interface org.javimmutable.collections.common.CollisionMap
- update(CollisionMap.Node, K, V) - Method in class org.javimmutable.collections.list.ListCollisionMap
- update(CollisionMap.Node, K, V) - Method in class org.javimmutable.collections.tree.TreeCollisionMap
- update(CollisionMap<K, V>, K, Func1<Maybe<V>, V>) - Method in interface org.javimmutable.collections.hash.map.ArrayMapNode
- update(CollisionMap<K, V>, K, Func1<Maybe<V>, V>) - Method in class org.javimmutable.collections.hash.map.ArrayMultiValueMapNode
- update(CollisionMap<K, V>, K, Func1<Maybe<V>, V>) - Method in class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- usingList() - Static method in class org.javimmutable.collections.hash.HashMap
-
Returns an empty map using linked lists for handling hash code collisions.
- usingTree() - Static method in class org.javimmutable.collections.hash.HashMap
-
Returns an empty map using linked lists for handling hash code collisions.
V
- val(A) - Static method in class org.javimmutable.collections.Temp
- val(A, B) - Static method in class org.javimmutable.collections.Temp
- val(A, B, C) - Static method in class org.javimmutable.collections.Temp
- val(A, B, C, D) - Static method in class org.javimmutable.collections.Temp
- Val1(A) - Constructor for class org.javimmutable.collections.Temp.Val1
- Val2(A, B) - Constructor for class org.javimmutable.collections.Temp.Val2
- Val3(A, B, C) - Constructor for class org.javimmutable.collections.Temp.Val3
- Val4(A, B, C, D) - Constructor for class org.javimmutable.collections.Temp.Val4
- value - Variable in class org.javimmutable.collections.MapEntry
- value() - Method in interface org.javimmutable.collections.iterators.GenericIterator.State
- values() - Method in class org.javimmutable.collections.array.TrieArray
- values() - Method in class org.javimmutable.collections.array.TrieArrayNode
- values() - Method in class org.javimmutable.collections.array.TrieLongArrayNode
- values() - Method in class org.javimmutable.collections.common.AbstractMap
- values() - Method in class org.javimmutable.collections.common.ArrayToMapAdaptor
- values() - Method in class org.javimmutable.collections.common.MapAdaptor
- values() - Method in interface org.javimmutable.collections.IArray
-
Creates an IStreamable to access all of the array's values.
- values() - Method in interface org.javimmutable.collections.IMap
-
Creates an IStreamable to access all of the Map's values.
- values() - Method in class org.javimmutable.collections.inorder.OrderedMap
- values(K) - Method in interface org.javimmutable.collections.IListMap
-
Creates an IStreamable to access all of the specified key's list.
- values(K) - Method in interface org.javimmutable.collections.ISetMap
-
Creates an IStreamable to access all of the specified key's set.
- values(K) - Method in class org.javimmutable.collections.listmap.HashListMap
- values(K) - Method in class org.javimmutable.collections.listmap.OrderedListMap
- values(K) - Method in class org.javimmutable.collections.listmap.TreeListMap
- values(K) - Method in class org.javimmutable.collections.setmap.HashSetMap
- values(K) - Method in class org.javimmutable.collections.setmap.OrderedSetMap
- values(K) - Method in class org.javimmutable.collections.setmap.TemplateSetMap
- values(K) - Method in class org.javimmutable.collections.setmap.TreeSetMap
- values(CollisionMap<K, V>) - Method in interface org.javimmutable.collections.hash.map.ArrayMapNode
- values(CollisionMap<K, V>) - Method in class org.javimmutable.collections.hash.map.ArrayMultiValueMapNode
- values(CollisionMap<K, V>) - Method in class org.javimmutable.collections.hash.map.ArraySingleValueMapNode
- values(CollisionSet<T>) - Method in class org.javimmutable.collections.hash.set.ArrayMultiValueSetNode
- values(CollisionSet<T>) - Method in interface org.javimmutable.collections.hash.set.ArraySetNode
- values(CollisionSet<T>) - Method in class org.javimmutable.collections.hash.set.ArraySingleValueSetNode
- var(W, X, Y, Z) - Static method in class org.javimmutable.collections.Temp
- var(X) - Static method in class org.javimmutable.collections.Temp
- var(X, Y) - Static method in class org.javimmutable.collections.Temp
- var(X, Y, Z) - Static method in class org.javimmutable.collections.Temp
- Var1(X) - Constructor for class org.javimmutable.collections.Temp.Var1
- Var2(X, Y) - Constructor for class org.javimmutable.collections.Temp.Var2
- Var3(X, Y, Z) - Constructor for class org.javimmutable.collections.Temp.Var3
- Var4(W, X, Y, Z) - Constructor for class org.javimmutable.collections.Temp.Var4
W
- w - Variable in class org.javimmutable.collections.Temp.Var4
- withIndexAtShift(int, long, int) - Static method in class org.javimmutable.collections.common.LongArrayMappedTrieMath
- withMap(IMap<K, ISet<V>>) - Method in class org.javimmutable.collections.setmap.SetMapFactory
- withSet(ISet<V>) - Method in class org.javimmutable.collections.setmap.SetMapFactory
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.HashListMapProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.OrderedListMapProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.TreeListMapProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.TreeListProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.HashMapProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.OrderedMapProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.TreeMapProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.HashMultisetProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.OrderedMultisetProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.TreeMultisetProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.HashSetMapProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.OrderedSetMapProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.TemplateSetMapProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.TreeSetMapProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.HashSetProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.OrderedSetProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.TreeSetProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.ArrayDequeProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.ArrayProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.MaybeProxy
- writeExternal(ObjectOutput) - Method in class org.javimmutable.collections.serialization.NotNullProxy
- writeMap(ObjectOutput) - Method in class org.javimmutable.collections.serialization.HashListMapProxy
- writeMap(ObjectOutput) - Method in class org.javimmutable.collections.serialization.OrderedListMapProxy
- writeMap(ObjectOutput) - Method in class org.javimmutable.collections.serialization.HashMapProxy
- writeMap(ObjectOutput) - Method in class org.javimmutable.collections.serialization.OrderedMapProxy
- writeMap(ObjectOutput) - Method in class org.javimmutable.collections.serialization.HashSetMapProxy
- writeMap(ObjectOutput) - Method in class org.javimmutable.collections.serialization.OrderedSetMapProxy
- writeMap(ObjectOutput) - Method in class org.javimmutable.collections.serialization.TemplateSetMapProxy
- writeMap(ObjectOutput) - Method in class org.javimmutable.collections.serialization.TreeListMapProxy
- writeMap(ObjectOutput) - Method in class org.javimmutable.collections.serialization.TreeMapProxy
- writeMap(ObjectOutput) - Method in class org.javimmutable.collections.serialization.TreeSetMapProxy
- writeSet(ObjectOutput) - Method in class org.javimmutable.collections.serialization.HashMultisetProxy
- writeSet(ObjectOutput) - Method in class org.javimmutable.collections.serialization.OrderedMultisetProxy
- writeSet(ObjectOutput) - Method in class org.javimmutable.collections.serialization.HashSetProxy
- writeSet(ObjectOutput) - Method in class org.javimmutable.collections.serialization.OrderedSetProxy
- writeSet(ObjectOutput) - Method in class org.javimmutable.collections.serialization.TreeMultisetProxy
- writeSet(ObjectOutput) - Method in class org.javimmutable.collections.serialization.TreeSetProxy
X
- x - Variable in class org.javimmutable.collections.Temp.Var1
- x - Variable in class org.javimmutable.collections.Temp.Var2
- x - Variable in class org.javimmutable.collections.Temp.Var3
- x - Variable in class org.javimmutable.collections.Temp.Var4
Y
- y - Variable in class org.javimmutable.collections.Temp.Var2
- y - Variable in class org.javimmutable.collections.Temp.Var3
- y - Variable in class org.javimmutable.collections.Temp.Var4
Z
- z - Variable in class org.javimmutable.collections.Temp.Var3
- z - Variable in class org.javimmutable.collections.Temp.Var4
- Zip - Class in org.javimmutable.collections.util
- Zip() - Constructor for class org.javimmutable.collections.util.Zip
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form