Package org.javimmutable.collections
package org.javimmutable.collections
-
ClassDescriptionComputation<T>A deferred computation.Func0<T>Interface for functions that take no arguments and return a value of type T.Func0Throws<T,
E extends Exception> Interface for functions that take no arguments and return a value of type T and might throw an exception.Func1<P,R> Interface for functions that take a single parameter.Func1Throws<P,R, E extends Exception> Interface for functions that take a single parameter and might throw an exception.Func2<P1,P2, R> Interface for functions that take two parameters.Func2Throws<P1,P2, R, E extends Exception> Interface for functions that take two parameters and might throw an exception.Func3<P1,P2, P3, R> Interface for functions that take three parameters.Func3Throws<P1,P2, P3, R, E extends Exception> Interface for functions that take three parameters and might throw an exception.Func4<P1,P2, P3, P4, R> Interface for functions that take four parameters.Func4Throws<P1,P2, P3, P4, R, E extends Exception> Interface for functions that take four parameters and might throw an exception.IArray<T>Immutable sparse array implementation using integers as keys.ICollection<T>IDeque<T>Interface for containers that store items in list form with individual items available for get() and assign() using their indexes.IList<T>Interface for containers that store items in list form with individual items available for get() and assign() using their indexes.IListBuilder<T>IListMap<K,V> Interface for maps that map keys to lists of values.IMap<K,V> Interface for immutable data structures that allow storage and retrieval of key/value pairs.IMapBuilder<K,V> IMapEntry<K,V> An immutable entry in the map.IMultiset<T>Keeps a set of distinct values, as well as the count corresponding to each value.Indexed<T>Interface for containers that allow access to values by an integer index.IndexedProc1<A>Interface for lambdas that accept an integer index plus 1 parameter and return nothing.IndexedProc1Throws<A,E extends Exception> Interface for lambdas that accept an integer index plus 1 parameter and return nothing but might throw an exception.IntFunc2<R>Implemented by all classes for testing purposes.ISet<T>Interface for immutable sets.ISetBuilder<T>ISetMap<K,V> Interface for maps that map keys to sets of values.IStreamable<T>Interface for classes that can produce java.util.Streams and are also Iterable.MapEntry<K,V> Mapped<K,V> Interface for containers that associate keys with values.Maybe<T>Used to handle cases when a value may or may not exist.NotNull<T>Used to handle cases when a value may or may not exist and to eliminate the use of null values.Interface for lambdas that accept no parameter and return nothing.Proc0Throws<E extends Exception>Interface for lambdas that accept 1 parameter and return nothing but might throw an exception.Proc1<A>Interface for lambdas that accept 1 parameter and return nothing.Proc1Throws<A,E extends Exception> Interface for lambdas that accept 1 parameter and return nothing but might throw an exception.Proc2<A,B> Interface for lambdas that accept 2 parameters and return nothing.Proc2Throws<A,B, E extends Exception> Interface for lambdas that accept 2 parameters and return nothing but might throw an exception.Result<T>Container for the result of some computation.Extension of Iterable for objects whose iterator method returns a SplitableIterator.Merges the concepts of Spliterator and Iterator.Container object holding two SplitableIterators.Sum1<A,R> 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, E extends Exception> 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, R> 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, R, E extends Exception> 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.Collection of useful temporary object classes.Temp.Val1<A>Temp.Val2<A,B> Temp.Val3<A,B, C> Temp.Val4<A,B, C, D> Temp.Var1<X>Temp.Var2<X,Y> Temp.Var3<X,Y, Z> Temp.Var4<W,X, Y, Z> Tuple2<A,B> Immutable container for 2 values.Tuple3<A,B, C> Immutable container for 3 values.Tuple4<A,B, C, D> Immutable container for 4 values.