Returns a new EntryStream
which is a concatenation of this stream
and the stream created from the supplied map entries.
Returns a new EntryStream
which is a concatenation of this stream
and the supplied key-value pair.
Returns a new EntryStream
which is a concatenation of this stream
and two supplied key-value pairs.
Returns a new EntryStream
which is a concatenation of this stream
and three supplied key-value pairs.
Merge series of adjacent stream entries with equal keys grouping the
corresponding values into List
.
Merge series of adjacent stream entries with equal keys combining the
corresponding values using the provided function.
Merge series of adjacent stream entries with equal keys combining the
corresponding values using the provided Collector
.
Performs a cross product of current stream with specified
Collection
of elements.
Creates a new EntryStream
whose keys are elements of current
stream and corresponding values are supplied by given function.
StreamEx.cross(V... other)
Performs a cross product of current stream with specified array of
elements.
Returns a stream consisting of the elements of this stream which have
distinct keys (according to object equality).
Returns a stream consisting of the elements of this stream which have
distinct values (according to object equality).
Returns an empty sequential EntryStream
.
Returns a stream consisting of the elements of this stream which keys
match the given predicate.
Returns a stream consisting of the elements of this stream which elements
match the given predicate.
Returns a stream consisting of the elements of this stream which values
match the given predicate.
Returns an EntryStream
consisting of the entries whose keys are
results of replacing source keys with the contents of a mapped stream
produced by applying the provided mapping function to each source key and
values are left intact.
Creates a new EntryStream
populated from entries of maps produced
by supplied mapper function which is applied to the every element of this
stream.
Returns an EntryStream
consisting of the entries whose keys are
results of replacing source keys with the contents of a mapped stream
produced by applying the provided mapping function and values are left
intact.
Returns an EntryStream
consisting of the entries whose values are
results of replacing source values with the contents of a mapped stream
produced by applying the provided mapping function and keys are left
intact.
Returns an EntryStream
consisting of the entries whose values are
results of replacing source values with the contents of a mapped stream
produced by applying the provided mapping function to each source value
and keys are left intact.
Returns an infinite sequential unordered EntryStream
where each
entry key is generated by the provided keySupplier
and each entry value is generated by the provided
valueSupplier
.
Returns a stream consisting of the
Map.Entry
objects which keys are
the values of this stream elements and vice versa.
Returns an EntryStream
consisting of the entries whose keys are
modified by applying the given function and values are left unchanged.
Returns an
EntryStream
consisting of the
Map.Entry
objects
which keys and values are results of applying the given functions to the
elements of this stream.
Returns an
EntryStream
consisting of the
Map.Entry
objects
which keys and values are results of applying the given functions to the
elements of this stream.
Returns an
EntryStream
consisting of the
Map.Entry
objects
which keys and values are results of applying the given functions to the
elements of this stream.
Returns an
EntryStream
consisting of the
Map.Entry
objects
which keys and values are results of applying the given functions to the
elements of this stream.
Returns an
EntryStream
consisting of the
Map.Entry
objects
which keys are elements of this stream and values are results of applying
the given function to the elements of this stream.
Returns an EntryStream
consisting of the entries whose keys are
modified by applying the given function and values are left unchanged.
Performs a mapping of the stream content to a partial function
removing the entries to which the function is not applicable.
Returns an EntryStream
consisting of the entries whose keys are
left unchanged and values are modified by applying the given function.
Performs a mapping of the stream content to a partial function
removing the entries to which the function is not applicable.
Returns an EntryStream
consisting of the entries whose keys are
left unchanged and values are modified by applying the given function.
Returns a stream consisting of the elements of this stream which key is
not null.
Returns a stream consisting of the elements of this stream which value is
not null.
Returns an EntryStream
object whose keys are indices of given
list and the values are the corresponding list elements.
EntryStream.of(Map<K,V> map)
Returns an EntryStream
object which contains the entries of
supplied Map
.
Returns an
EntryStream
object which wraps given
Stream
of
Map.Entry
elements
EntryStream.of(K key,
V value)
Returns a sequential EntryStream
containing a single key-value
pair
EntryStream.of(K k1,
V v1,
K k2,
V v2)
Returns a sequential EntryStream
containing two key-value pairs
EntryStream.of(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
Returns a sequential EntryStream
containing three key-value pairs
EntryStream.of(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Returns a sequential EntryStream
containing four key-value pairs
EntryStream.of(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Returns a sequential EntryStream
containing five key-value pairs
EntryStream.of(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5,
K k6,
V v6)
Returns a sequential EntryStream
containing six key-value pairs
EntryStream.of(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5,
K k6,
V v6,
K k7,
V v7)
Returns a sequential EntryStream
containing seven key-value pairs
EntryStream.of(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5,
K k6,
V v6,
K k7,
V v7,
K k8,
V v8)
Returns a sequential EntryStream
containing eight key-value pairs
EntryStream.of(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5,
K k6,
V v6,
K k7,
V v7,
K k8,
V v8,
K k9,
V v9)
Returns a sequential EntryStream
containing nine key-value pairs
EntryStream.of(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5,
K k6,
V v6,
K k7,
V v7,
K k8,
V v8,
K k9,
V v9,
K k10,
V v10)
Returns a sequential EntryStream
containing ten key-value pairs
EntryStream.of(V[] array)
Returns an EntryStream
object whose keys are indices of given
array and the values are the corresponding array elements.
Returns a sequential ordered EntryStream
containing the possible
pairs of elements taken from the provided list.
Returns a sequential ordered EntryStream
containing the possible
pairs of elements taken from the provided array.
Return a new
EntryStream
containing all the nodes of tree-like
data structure in entry values along with the corresponding tree depths
in entry keys, in depth-first order.
Return a new
EntryStream
containing all the nodes of tree-like
data structure in entry values along with the corresponding tree depths
in entry keys, in depth-first order.
Returns a stream consisting of the entries of this stream, additionally
performing the provided action on each entry key as entries are consumed
from the resulting stream.
Returns a stream consisting of the entries of this stream, additionally
performing the provided action on each entry key-value pair as entries
are consumed from the resulting stream.
Returns a stream consisting of the entries of this stream, additionally
performing the provided action on each entry value as entries are
consumed from the resulting stream.
Returns a new EntryStream
which values are the same as this
stream values and keys are the results of applying the accumulation
function to this stream keys, going left to right.
Returns a new EntryStream
which keys are the same as this stream
keys and values are the results of applying the accumulation function to
this stream values, going left to right.
Returns a new EntryStream
which is a concatenation of the stream
created from the supplied map entries and this stream.
Returns a new EntryStream
which is a concatenation of the
supplied key-value pair and this stream.
Returns a new EntryStream
which is a concatenation of two
supplied key-value pairs and this stream.
Returns a new EntryStream
which is a concatenation of three
supplied key-value pairs and this stream.
Returns a stream consisting of the elements of this stream which keys
don't match the given predicate.
Returns a stream consisting of the elements of this stream which values
don't match the given predicate.
Returns a stream consisting of the elements of this stream which values
don't match the given predicate.
Collapses adjacent equal elements and returns an
EntryStream
where keys are input elements and values specify how many elements were
collapsed.
Returns a stream consisting of the elements of this stream which keys are
instances of given class.
Returns a stream consisting of the elements of this stream which values
are instances of given class.
Creates an
EntryStream
consisting of the
Map.Entry
objects
which keys are all the same and equal to the first element of this stream
and values are the original elements of this stream.
Returns an EntryStream
consisting of the elements of this stream
whose keys are not equal to any of supplied keys.
Returns an EntryStream
consisting of the elements of this stream
whose values are not equal to any of the supplied values.
Returns a sequential EntryStream
containing Entry
objects
composed from corresponding key and value in given two lists.
EntryStream.zip(K[] keys,
V[] values)
Returns a sequential EntryStream
containing Entry
objects
composed from corresponding key and value in given two arrays.
Creates a new
EntryStream
which keys are elements of this stream
and values are the corresponding elements of the supplied other stream.
Creates a new
EntryStream
which keys are elements of this stream
and values are the corresponding elements of the supplied other stream.