Uses of Interface
org.javimmutable.collections.IStreamable
Package
Description
-
Uses of IStreamable in org.javimmutable.collections
Modifier and TypeInterfaceDescriptioninterface
IArray<T>
Immutable sparse array implementation using integers as keys.interface
ICollection<T>
interface
IDeque<T>
Interface for containers that store items in list form with individual items available for get() and assign() using their indexes.interface
IList<T>
Interface for containers that store items in list form with individual items available for get() and assign() using their indexes.interface
IListMap<K,
V> Interface for maps that map keys to lists of values.interface
IMap<K,
V> Interface for immutable data structures that allow storage and retrieval of key/value pairs.interface
IMultiset<T>
Keeps a set of distinct values, as well as the count corresponding to each value.interface
ISet<T>
Interface for immutable sets.interface
ISetMap<K,
V> Interface for maps that map keys to sets of values.Modifier and TypeClassDescriptionclass
Maybe<T>
Used to handle cases when a value may or may not exist.class
NotNull<T>
Used to handle cases when a value may or may not exist and to eliminate the use of null values.Modifier and TypeMethodDescriptionIStreamable
<IMapEntry<K, IList<V>>> IListMap.entries()
Creates an IStreamable to access all of the Map's entries.IMultiset.entries()
Stream iterates through each Entry, that contains a unique value and the count of occurrences.IStreamable
<IMapEntry<K, ISet<V>>> ISetMap.entries()
Creates an IStreamable to access all of the Map's entries.IArray.keys()
Creates an IStreamable to access all of the array's keys.IListMap.keys()
Creates an IStreamable to access all of the Map's keys.IMap.keys()
Creates an IStreamable to access all of the Map's keys.ISetMap.keys()
Creates an IStreamable to access all of the Map's keys.IMultiset.occurrences()
IStreamable that iterates through each occurrence in the multiset the correct number of times.IArray.values()
Creates an IStreamable to access all of the array's values.Creates an IStreamable to access all of the specified key's list.IMap.values()
Creates an IStreamable to access all of the Map's values.Creates an IStreamable to access all of the specified key's set. -
Uses of IStreamable in org.javimmutable.collections.array
-
Uses of IStreamable in org.javimmutable.collections.common
Modifier and TypeMethodDescriptionAbstractMultiset.entries()
AbstractMap.keys()
AbstractMultiset.occurrences()
AbstractMap.values()
-
Uses of IStreamable in org.javimmutable.collections.deque
-
Uses of IStreamable in org.javimmutable.collections.hash
Modifier and TypeClassDescriptionclass
EmptyHashMap<K,
V> Singleton implementation ofIMap
that contains no elements.class
EmptyHashSet<T>
class
HashMap<T,
K, V> class
HashMultiset<T>
class
HashSet<T>
-
Uses of IStreamable in org.javimmutable.collections.inorder
Modifier and TypeClassDescriptionclass
OrderedMap<K,
V> IMap
implementation that allows iteration over members in the order in which they were inserted into the map.class
IMultiset
implementation built on top of an ordered map.class
OrderedSet<T>
ISet
implementation built on top of an ordered set. -
Uses of IStreamable in org.javimmutable.collections.iterators
Modifier and TypeClassDescriptionclass
EntryStreamable<K,
V, C extends IStreamable<V>, D extends IStreamable<IMapEntry<K, C>>> class
EntryStreamable<K,
V, C extends IStreamable<V>, D extends IStreamable<IMapEntry<K, C>>> Modifier and TypeClassDescriptionclass
EntryStreamable<K,
V, C extends IStreamable<V>, D extends IStreamable<IMapEntry<K, C>>> class
TransformStreamable<S,
T> Modifier and TypeMethodDescriptionstatic <S,
T> IStreamable <T> TransformStreamable.of
(IStreamable<S> source, java.util.function.Function<S, T> transforminator) static <K,
V> IStreamable <K> TransformStreamable.ofKeys
(IStreamable<IMapEntry<K, V>> source) static <K,
V> IStreamable <V> TransformStreamable.ofValues
(IStreamable<IMapEntry<K, V>> source) static <T> IStreamable
<T> EmptyIterator.streamable()
default IStreamable
<T> GenericIterator.Iterable.streamable
(int characteristics) Modifier and TypeMethodDescriptionstatic <S,
T> IStreamable <T> TransformStreamable.of
(IStreamable<S> source, java.util.function.Function<S, T> transforminator) static <K,
V> IStreamable <K> TransformStreamable.ofKeys
(IStreamable<IMapEntry<K, V>> source) static <K,
V> IStreamable <V> TransformStreamable.ofValues
(IStreamable<IMapEntry<K, V>> source) -
Uses of IStreamable in org.javimmutable.collections.list
-
Uses of IStreamable in org.javimmutable.collections.listmap
Modifier and TypeClassDescriptionclass
HashListMap<K,
V> IListMap
using a hash map for fast lookup.class
OrderedListMap<K,
V> IListMap
implementation that allows keys to be traversed in the same order as they were inserted into the collection.class
TreeListMap<K,
V> 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. -
Uses of IStreamable in org.javimmutable.collections.setmap
Modifier and TypeClassDescriptionclass
HashSetMap<K,
V> ISetMap
using a hash map for fast lookup.class
OrderedSetMap<K,
V> ISetMap
implementation that allows keys to be traversed in the same order as they were inserted into the collectionclass
TemplateSetMap<K,
V> ISetMap
implementation that uses arbitrary Map and Set templates.class
TreeSetMap<K,
V> 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. -
Uses of IStreamable in org.javimmutable.collections.tree