Uses of Class
one.util.streamex.EntryStream

  • Uses of EntryStream in one.util.streamex

    Methods in one.util.streamex that return EntryStream
    Modifier and Type
    Method
    Description
    EntryStream.append(Map<K,V> map)
    Returns a new EntryStream which is a concatenation of this stream and the stream created from the supplied map entries.
    EntryStream.append(K key, V value)
    Returns a new EntryStream which is a concatenation of this stream and the supplied key-value pair.
    EntryStream.append(K k1, V v1, K k2, V v2)
    Returns a new EntryStream which is a concatenation of this stream and two supplied key-value pairs.
    EntryStream.append(K k1, V v1, K k2, V v2, K k3, V v3)
    Returns a new EntryStream which is a concatenation of this stream and three supplied key-value pairs.
    EntryStream.collapseKeys()
    Merge series of adjacent stream entries with equal keys grouping the corresponding values into List.
    EntryStream.collapseKeys(BinaryOperator<V> merger)
    Merge series of adjacent stream entries with equal keys combining the corresponding values using the provided function.
    <A, R> EntryStream<K,R>
    EntryStream.collapseKeys(Collector<? super V,A,R> collector)
    Merge series of adjacent stream entries with equal keys combining the corresponding values using the provided Collector.
    <V> EntryStream<T,V>
    StreamEx.cross(Collection<? extends V> other)
    Performs a cross product of current stream with specified Collection of elements.
    <V> EntryStream<T,V>
    StreamEx.cross(Function<? super T,? extends Stream<? extends V>> mapper)
    Creates a new EntryStream whose keys are elements of current stream and corresponding values are supplied by given function.
    <V> EntryStream<T,V>
    StreamEx.cross(V... other)
    Performs a cross product of current stream with specified array of elements.
    EntryStream.distinctKeys()
    Returns a stream consisting of the elements of this stream which have distinct keys (according to object equality).
    EntryStream.distinctValues()
    Returns a stream consisting of the elements of this stream which have distinct values (according to object equality).
    static <K, V> EntryStream<K,V>
    EntryStream.empty()
    Returns an empty sequential EntryStream.
    EntryStream.filterKeys(Predicate<? super K> keyPredicate)
    Returns a stream consisting of the elements of this stream which keys match the given predicate.
    EntryStream.filterKeyValue(BiPredicate<? super K,? super V> predicate)
    Returns a stream consisting of the elements of this stream which elements match the given predicate.
    EntryStream.filterValues(Predicate<? super V> valuePredicate)
    Returns a stream consisting of the elements of this stream which values match the given predicate.
    <KK> EntryStream<KK,V>
    EntryStream.flatMapKeys(Function<? super K,? extends Stream<? extends KK>> mapper)
    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.
    <K, V> EntryStream<K,V>
    StreamEx.flatMapToEntry(Function<? super T,? extends Map<K,V>> mapper)
    Creates a new EntryStream populated from entries of maps produced by supplied mapper function which is applied to the every element of this stream.
    <KK> EntryStream<KK,V>
    EntryStream.flatMapToKey(BiFunction<? super K,? super V,? extends Stream<? extends KK>> mapper)
    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.
    <VV> EntryStream<K,VV>
    EntryStream.flatMapToValue(BiFunction<? super K,? super V,? extends Stream<? extends VV>> mapper)
    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.
    <VV> EntryStream<K,VV>
    EntryStream.flatMapValues(Function<? super V,? extends Stream<? extends VV>> mapper)
    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.
    static <K, V> EntryStream<K,V>
    EntryStream.generate(Supplier<? extends K> keySupplier, Supplier<? extends V> valueSupplier)
    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.
    EntryStream.invert()
    Returns a stream consisting of the Map.Entry objects which keys are the values of this stream elements and vice versa.
    <KK> EntryStream<KK,V>
    EntryStream.mapKeys(Function<? super K,? extends KK> keyMapper)
    Returns an EntryStream consisting of the entries whose keys are modified by applying the given function and values are left unchanged.
    <K, V> EntryStream<K,V>
    DoubleStreamEx.mapToEntry(DoubleFunction<? extends K> keyMapper, DoubleFunction<? extends V> valueMapper)
    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.
    <K, V> EntryStream<K,V>
    IntStreamEx.mapToEntry(IntFunction<? extends K> keyMapper, IntFunction<? extends V> valueMapper)
    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.
    <K, V> EntryStream<K,V>
    LongStreamEx.mapToEntry(LongFunction<? extends K> keyMapper, LongFunction<? extends V> valueMapper)
    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.
    <K, V> EntryStream<K,V>
    StreamEx.mapToEntry(Function<? super T,? extends K> keyMapper, Function<? super T,? extends V> valueMapper)
    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.
    <V> EntryStream<T,V>
    StreamEx.mapToEntry(Function<? super T,? extends V> valueMapper)
    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.
    <KK> EntryStream<KK,V>
    EntryStream.mapToKey(BiFunction<? super K,? super V,? extends KK> keyMapper)
    Returns an EntryStream consisting of the entries whose keys are modified by applying the given function and values are left unchanged.
    <KK> EntryStream<KK,V>
    EntryStream.mapToKeyPartial(BiFunction<? super K,? super V,? extends Optional<? extends KK>> keyMapper)
    Performs a mapping of the stream content to a partial function removing the entries to which the function is not applicable.
    <VV> EntryStream<K,VV>
    EntryStream.mapToValue(BiFunction<? super K,? super V,? extends VV> valueMapper)
    Returns an EntryStream consisting of the entries whose keys are left unchanged and values are modified by applying the given function.
    <VV> EntryStream<K,VV>
    EntryStream.mapToValuePartial(BiFunction<? super K,? super V,? extends Optional<? extends VV>> valueMapper)
    Performs a mapping of the stream content to a partial function removing the entries to which the function is not applicable.
    <VV> EntryStream<K,VV>
    EntryStream.mapValues(Function<? super V,? extends VV> valueMapper)
    Returns an EntryStream consisting of the entries whose keys are left unchanged and values are modified by applying the given function.
    EntryStream.nonNullKeys()
    Returns a stream consisting of the elements of this stream which key is not null.
    EntryStream.nonNullValues()
    Returns a stream consisting of the elements of this stream which value is not null.
    static <K, V> EntryStream<K,V>
    EntryStream.of(Iterator<? extends Map.Entry<K,V>> iterator)
    Returns a sequential, ordered EntryStream created from given Iterator.
    static <V> EntryStream<Integer,V>
    EntryStream.of(List<V> list)
    Returns an EntryStream object whose keys are indices of given list and the values are the corresponding list elements.
    static <K, V> EntryStream<K,V>
    EntryStream.of(Map<K,V> map)
    Returns an EntryStream object which contains the entries of supplied Map.
    static <K, V> EntryStream<K,V>
    EntryStream.of(Spliterator<? extends Map.Entry<K,V>> spliterator)
    Returns a sequential EntryStream created from given Spliterator.
    static <K, V> EntryStream<K,V>
    EntryStream.of(Stream<? extends Map.Entry<K,V>> stream)
    Returns an EntryStream object which wraps given Stream of Map.Entry elements
    static <K, V> EntryStream<K,V>
    EntryStream.of(K key, V value)
    Returns a sequential EntryStream containing a single key-value pair
    static <K, V> EntryStream<K,V>
    EntryStream.of(K k1, V v1, K k2, V v2)
    Returns a sequential EntryStream containing two key-value pairs
    static <K, V> EntryStream<K,V>
    EntryStream.of(K k1, V v1, K k2, V v2, K k3, V v3)
    Returns a sequential EntryStream containing three key-value pairs
    static <K, V> EntryStream<K,V>
    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
    static <K, V> EntryStream<K,V>
    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
    static <K, V> EntryStream<K,V>
    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
    static <K, V> EntryStream<K,V>
    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
    static <K, V> EntryStream<K,V>
    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
    static <K, V> EntryStream<K,V>
    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
    static <K, V> EntryStream<K,V>
    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
    static <V> EntryStream<Integer,V>
    EntryStream.of(V[] array)
    Returns an EntryStream object whose keys are indices of given array and the values are the corresponding array elements.
    static <T> EntryStream<T,T>
    EntryStream.ofPairs(List<T> list)
    Returns a sequential ordered EntryStream containing the possible pairs of elements taken from the provided list.
    static <T> EntryStream<T,T>
    EntryStream.ofPairs(T[] array)
    Returns a sequential ordered EntryStream containing the possible pairs of elements taken from the provided array.
    static <T, TT extends T>
    EntryStream<Integer,T>
    EntryStream.ofTree(T root, Class<TT> collectionClass, BiFunction<Integer,TT,Stream<T>> mapper)
    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.
    static <T> EntryStream<Integer,T>
    EntryStream.ofTree(T root, BiFunction<Integer,T,Stream<T>> mapper)
    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.
    EntryStream.peekKeys(Consumer<? super K> keyAction)
    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.
    EntryStream.peekKeyValue(BiConsumer<? super K,? super V> action)
    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.
    EntryStream.peekValues(Consumer<? super V> valueAction)
    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.
    EntryStream.prefixKeys(BinaryOperator<K> op)
    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.
    EntryStream.prefixValues(BinaryOperator<V> op)
    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.
    EntryStream.prepend(Map<K,V> map)
    Returns a new EntryStream which is a concatenation of the stream created from the supplied map entries and this stream.
    EntryStream.prepend(K key, V value)
    Returns a new EntryStream which is a concatenation of the supplied key-value pair and this stream.
    EntryStream.prepend(K k1, V v1, K k2, V v2)
    Returns a new EntryStream which is a concatenation of two supplied key-value pairs and this stream.
    EntryStream.prepend(K k1, V v1, K k2, V v2, K k3, V v3)
    Returns a new EntryStream which is a concatenation of three supplied key-value pairs and this stream.
    EntryStream.removeKeys(Predicate<? super K> keyPredicate)
    Returns a stream consisting of the elements of this stream which keys don't match the given predicate.
    EntryStream.removeKeyValue(BiPredicate<? super K,? super V> predicate)
    Returns a stream consisting of the elements of this stream which values don't match the given predicate.
    EntryStream.removeValues(Predicate<? super V> valuePredicate)
    Returns a stream consisting of the elements of this stream which values don't match the given predicate.
    StreamEx.runLengths()
    Collapses adjacent equal elements and returns an EntryStream where keys are input elements and values specify how many elements were collapsed.
    <KK> EntryStream<KK,V>
    EntryStream.selectKeys(Class<KK> clazz)
    Returns a stream consisting of the elements of this stream which keys are instances of given class.
    <VV> EntryStream<K,VV>
    EntryStream.selectValues(Class<VV> clazz)
    Returns a stream consisting of the elements of this stream which values are instances of given class.
    EntryStream.sorted()
    (package private) EntryStream<K,V>
    EntryStream.supply(Spliterator<Map.Entry<K,V>> spliterator)
     
    (package private) EntryStream<K,V>
    EntryStream.supply(Stream<Map.Entry<K,V>> stream)
     
    StreamEx.withFirst()
    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.
    final EntryStream<K,V>
    EntryStream.withoutKeys(K... keys)
    Returns an EntryStream consisting of the elements of this stream whose keys are not equal to any of supplied keys.
    final EntryStream<K,V>
    EntryStream.withoutValues(V... values)
    Returns an EntryStream consisting of the elements of this stream whose values are not equal to any of the supplied values.
    static <K, V> EntryStream<K,V>
    EntryStream.zip(List<K> keys, List<V> values)
    Returns a sequential EntryStream containing Entry objects composed from corresponding key and value in given two lists.
    static <K, V> EntryStream<K,V>
    EntryStream.zip(K[] keys, V[] values)
    Returns a sequential EntryStream containing Entry objects composed from corresponding key and value in given two arrays.
    <V> EntryStream<T,V>
    StreamEx.zipWith(BaseStream<V,?> other)
    Creates a new EntryStream which keys are elements of this stream and values are the corresponding elements of the supplied other stream.
    <V> EntryStream<T,V>
    StreamEx.zipWith(Stream<V> other)
    Creates a new EntryStream which keys are elements of this stream and values are the corresponding elements of the supplied other stream.