public class ScalaStreamSupport
extends java.lang.Object
java.util.stream.StreamSupport
for other Java types. It is intended for
use from Java code. In Scala code, you can use the extension methods provided by
scala.compat.java8.StreamConverters
instead.
Streams created from immutable Scala collections are also immutable. Mutable collections should
not be modified concurrently. There are no guarantees for success or failure modes of existing
streams in case of concurrent modifications.Constructor and Description |
---|
ScalaStreamSupport() |
Modifier and Type | Method and Description |
---|---|
static java.util.stream.DoubleStream |
doubleStream(scala.collection.immutable.HashSet<java.lang.Double> coll)
Generates a DoubleStream that traverses a scala.collection.immutable.HashSet of Doubles.
|
static java.util.stream.DoubleStream |
doubleStream(scala.collection.mutable.HashSet<java.lang.Double> coll)
Generates a DoubleStream that traverses a scala.collection.mutable.HashSet of Doubles.
|
static java.util.stream.DoubleStream |
doubleStream(scala.collection.IndexedSeq<java.lang.Double> coll)
Generates a DoubleStream that traverses an IndexedSeq of Doubles.
|
static java.util.stream.DoubleStream |
doubleStream(scala.collection.Iterable<java.lang.Double> coll)
Generates a DoubleStream that traverses a double-valued scala.collection.Iterable.
|
static java.util.stream.DoubleStream |
doubleStream(scala.collection.Iterator<java.lang.Double> coll)
Generates a DoubleStream that traverses a double-valued scala.collection.Iterator.
|
static java.util.stream.DoubleStream |
doubleStream(scala.collection.immutable.Vector<java.lang.Double> coll)
Generates a DoubleStream that traverses a scala.collection.immutable.Vector of Doubles.
|
static java.util.stream.DoubleStream |
doubleStreamAccumulated(scala.collection.TraversableOnce<java.lang.Double> coll)
Generates a Stream that traverses any Scala collection by accumulating its entries
into a buffer class (Accumulator).
|
static java.util.stream.DoubleStream |
doubleStreamAccumulatedKeys(scala.collection.Map<java.lang.Double,?> coll)
Generates a Stream that traverses the keys of any Scala map by
accumulating those keys into a buffer class (Accumulator).
|
static java.util.stream.DoubleStream |
doubleStreamAccumulatedValues(scala.collection.Map<?,java.lang.Double> coll)
Generates a Stream that traverses the values of any Scala map by
accumulating those values into a buffer class (Accumulator).
|
static java.util.stream.DoubleStream |
doubleStreamKeys(scala.collection.mutable.HashMap<java.lang.Double,?> coll)
Generates a DoubleStream that traverses double-valued keys of a scala.collection.mutable.HashMap.
|
static java.util.stream.DoubleStream |
doubleStreamKeys(scala.collection.immutable.HashMap<java.lang.Double,? super java.lang.Object> coll)
Generates a DoubleStream that traverses double-valued keys of a scala.collection.immutable.HashMap.
|
static java.util.stream.DoubleStream |
doubleStreamKeys(scala.collection.Map<java.lang.Double,?> coll)
Generates a DoubleStream that traverses the double-valued keys of a scala.collection.Map.
|
static java.util.stream.DoubleStream |
doubleStreamValues(scala.collection.immutable.HashMap<? super java.lang.Object,java.lang.Double> coll)
Generates a DoubleStream that traverses double-valued values of a scala.collection.immutable.HashMap.
|
static java.util.stream.DoubleStream |
doubleStreamValues(scala.collection.mutable.HashMap<? super java.lang.Object,java.lang.Double> coll)
Generates a DoubleStream that traverses double-valued values of a scala.collection.mutable.HashMap.
|
static java.util.stream.DoubleStream |
doubleStreamValues(scala.collection.Map<?,java.lang.Double> coll)
Generates a DoubleStream that traverses the double-valued values of a scala.collection.Map.
|
static java.util.stream.IntStream |
intStream(scala.collection.BitSet coll)
Generates a IntStream that traverses a BitSet.
|
static java.util.stream.IntStream |
intStream(scala.collection.immutable.HashSet<java.lang.Integer> coll)
Generates a IntStream that traverses a scala.collection.immutable.HashSet of Ints.
|
static java.util.stream.IntStream |
intStream(scala.collection.mutable.HashSet<java.lang.Integer> coll)
Generates a IntStream that traverses a scala.collection.mutable.HashSet of Ints.
|
static java.util.stream.IntStream |
intStream(scala.collection.IndexedSeq<java.lang.Integer> coll)
Generates a IntStream that traverses an IndexedSeq of Ints.
|
static java.util.stream.IntStream |
intStream(scala.collection.Iterable<java.lang.Integer> coll)
Generates a IntStream that traverses a int-valued scala.collection.Iterable.
|
static java.util.stream.IntStream |
intStream(scala.collection.Iterator<java.lang.Integer> coll)
Generates a IntStream that traverses a int-valued scala.collection.Iterator.
|
static java.util.stream.IntStream |
intStream(scala.collection.immutable.Range coll)
Generates a IntStream that traverses a Range.
|
static java.util.stream.IntStream |
intStream(scala.collection.immutable.Vector<java.lang.Integer> coll)
Generates a IntStream that traverses a scala.collection.immutable.Vector of Ints.
|
static java.util.stream.IntStream |
intStreamAccumulated(scala.collection.TraversableOnce<java.lang.Integer> coll)
Generates a Stream that traverses any Scala collection by accumulating its entries
into a buffer class (Accumulator).
|
static java.util.stream.IntStream |
intStreamAccumulatedKeys(scala.collection.Map<java.lang.Integer,?> coll)
Generates a Stream that traverses the keys of any Scala map by
accumulating those keys into a buffer class (Accumulator).
|
static java.util.stream.IntStream |
intStreamAccumulatedValues(scala.collection.Map<?,java.lang.Integer> coll)
Generates a Stream that traverses the values of any Scala map by
accumulating those values into a buffer class (Accumulator).
|
static java.util.stream.IntStream |
intStreamKeys(scala.collection.mutable.HashMap<java.lang.Integer,?> coll)
Generates a IntStream that traverses int-valued keys of a scala.collection.mutable.HashMap.
|
static java.util.stream.IntStream |
intStreamKeys(scala.collection.immutable.HashMap<java.lang.Integer,? super java.lang.Object> coll)
Generates a IntStream that traverses int-valued keys of a scala.collection.immutable.HashMap.
|
static java.util.stream.IntStream |
intStreamKeys(scala.collection.Map<java.lang.Integer,?> coll)
Generates a IntStream that traverses the int-valued keys of a scala.collection.Map.
|
static java.util.stream.IntStream |
intStreamValues(scala.collection.immutable.HashMap<? super java.lang.Object,java.lang.Integer> coll)
Generates a IntStream that traverses int-valued values of a scala.collection.immutable.HashMap.
|
static java.util.stream.IntStream |
intStreamValues(scala.collection.mutable.HashMap<? super java.lang.Object,java.lang.Integer> coll)
Generates a IntStream that traverses int-valued values of a scala.collection.mutable.HashMap.
|
static java.util.stream.IntStream |
intStreamValues(scala.collection.Map<?,java.lang.Integer> coll)
Generates a IntStream that traverses the int-valued values of a scala.collection.Map.
|
static java.util.stream.LongStream |
longStream(scala.collection.immutable.HashSet<java.lang.Long> coll)
Generates a LongStream that traverses a scala.collection.immutable.HashSet of Longs.
|
static java.util.stream.LongStream |
longStream(scala.collection.mutable.HashSet<java.lang.Long> coll)
Generates a LongStream that traverses a scala.collection.mutable.HashSet of Longs.
|
static java.util.stream.LongStream |
longStream(scala.collection.IndexedSeq<java.lang.Long> coll)
Generates a LongStream that traverses an IndexedSeq of Longs.
|
static java.util.stream.LongStream |
longStream(scala.collection.Iterable<java.lang.Long> coll)
Generates a LongStream that traverses a long-valued scala.collection.Iterable.
|
static java.util.stream.LongStream |
longStream(scala.collection.Iterator<java.lang.Long> coll)
Generates a LongStream that traverses a long-valued scala.collection.Iterator.
|
static java.util.stream.LongStream |
longStream(scala.collection.immutable.Vector<java.lang.Long> coll)
Generates a LongStream that traverses a scala.collection.immutable.Vector of Longs.
|
static java.util.stream.LongStream |
longStreamAccumulated(scala.collection.TraversableOnce<java.lang.Long> coll)
Generates a Stream that traverses any Scala collection by accumulating its entries
into a buffer class (Accumulator).
|
static java.util.stream.LongStream |
longStreamAccumulatedKeys(scala.collection.Map<java.lang.Long,?> coll)
Generates a Stream that traverses the keys of any Scala map by
accumulating those keys into a buffer class (Accumulator).
|
static java.util.stream.LongStream |
longStreamAccumulatedValues(scala.collection.Map<?,java.lang.Long> coll)
Generates a Stream that traverses the values of any Scala map by
accumulating those values into a buffer class (Accumulator).
|
static java.util.stream.LongStream |
longStreamKeys(scala.collection.mutable.HashMap<java.lang.Long,?> coll)
Generates a LongStream that traverses long-valued keys of a scala.collection.mutable.HashMap.
|
static java.util.stream.LongStream |
longStreamKeys(scala.collection.immutable.HashMap<java.lang.Long,? super java.lang.Object> coll)
Generates a LongStream that traverses long-valued keys of a scala.collection.immutable.HashMap.
|
static java.util.stream.LongStream |
longStreamKeys(scala.collection.Map<java.lang.Long,?> coll)
Generates a LongStream that traverses the long-valued keys of a scala.collection.Map.
|
static java.util.stream.LongStream |
longStreamValues(scala.collection.immutable.HashMap<? super java.lang.Object,java.lang.Long> coll)
Generates a LongStream that traverses long-valued values of a scala.collection.immutable.HashMap.
|
static java.util.stream.LongStream |
longStreamValues(scala.collection.mutable.HashMap<? super java.lang.Object,java.lang.Long> coll)
Generates a LongStream that traverses long-valued values of a scala.collection.mutable.HashMap.
|
static java.util.stream.LongStream |
longStreamValues(scala.collection.Map<?,java.lang.Long> coll)
Generates a LongStream that traverses the long-valued values of a scala.collection.Map.
|
static <K,V> java.util.stream.Stream<scala.Tuple2<K,V>> |
stream(scala.collection.immutable.HashMap<K,V> coll)
Generates a Stream that traverses the key-value pairs of a scala.collection.immutable.HashMap.
|
static <K,V> java.util.stream.Stream<scala.Tuple2<K,V>> |
stream(scala.collection.mutable.HashMap<K,V> coll)
Generates a Stream that traverses the key-value pairs of a scala.collection.mutable.HashMap.
|
static <T> java.util.stream.Stream<T> |
stream(scala.collection.immutable.HashSet<T> coll)
Generates a Stream that traverses a scala.collection.immutable.HashSet.
|
static <T> java.util.stream.Stream<T> |
stream(scala.collection.mutable.HashSet<T> coll)
Generates a Stream that traverses a scala.collection.mutable.HashSet.
|
static <T> java.util.stream.Stream<T> |
stream(scala.collection.IndexedSeq<T> coll)
Generates a Stream that traverses an IndexedSeq.
|
static <T> java.util.stream.Stream<T> |
stream(scala.collection.Iterable<T> coll)
Generates a Stream that traverses a scala.collection.Iterable.
|
static <T> java.util.stream.Stream<T> |
stream(scala.collection.Iterator<T> coll)
Generates a Stream that traverses a scala.collection.Iterator.
|
static <K,V> java.util.stream.Stream<scala.Tuple2<K,V>> |
stream(scala.collection.Map<K,V> coll)
Generates a Stream that traverses the key-value pairs of a scala.collection.Map.
|
static <T> java.util.stream.Stream<T> |
stream(scala.collection.immutable.Vector<T> coll)
Generates a Stream that traverses a scala.collection.immutable.Vector.
|
static <T> java.util.stream.Stream<T> |
streamAccumulated(scala.collection.TraversableOnce<T> coll)
Generates a Stream that traverses any Scala collection by accumulating its entries
into a buffer class (Accumulator).
|
static <K> java.util.stream.Stream<K> |
streamAccumulatedKeys(scala.collection.Map<K,?> coll)
Generates a Stream that traverses the keys of any Scala map by
accumulating those keys into a buffer class (Accumulator).
|
static <V> java.util.stream.Stream<V> |
streamAccumulatedValues(scala.collection.Map<?,V> coll)
Generates a Stream that traverses the values of any Scala map by
accumulating those values into a buffer class (Accumulator).
|
static <K> java.util.stream.Stream<K> |
streamKeys(scala.collection.mutable.HashMap<K,?> coll)
Generates a Stream that traverses the keys of a scala.collection.mutable.HashMap.
|
static <K> java.util.stream.Stream<K> |
streamKeys(scala.collection.immutable.HashMap<K,? super java.lang.Object> coll)
Generates a Stream that traverses the keys of a scala.collection.immutable.HashMap.
|
static <K> java.util.stream.Stream<K> |
streamKeys(scala.collection.Map<K,?> coll)
Generates a Stream that traverses the keys of a scala.collection.Map.
|
static <V> java.util.stream.Stream<V> |
streamValues(scala.collection.immutable.HashMap<? super java.lang.Object,V> coll)
Generates a Stream that traverses the values of a scala.collection.immutable.HashMap.
|
static <V> java.util.stream.Stream<V> |
streamValues(scala.collection.mutable.HashMap<? super java.lang.Object,V> coll)
Generates a Stream that traverses the values of a scala.collection.mutable.HashMap.
|
static <V> java.util.stream.Stream<V> |
streamValues(scala.collection.Map<?,V> coll)
Generates a Stream that traverses the values of a scala.collection.Map.
|
public static <T> java.util.stream.Stream<T> stream(scala.collection.IndexedSeq<T> coll)
Both sequential and parallel operations will be efficient.
coll
- The IndexedSeq to traversepublic static <K> java.util.stream.Stream<K> streamKeys(scala.collection.immutable.HashMap<K,? super java.lang.Object> coll)
Both sequential and parallel operations will be efficient.
coll
- The immutable.HashMap to traversepublic static <V> java.util.stream.Stream<V> streamValues(scala.collection.immutable.HashMap<? super java.lang.Object,V> coll)
Both sequential and parallel operations will be efficient.
coll
- The immutable.HashMap to traversepublic static <K,V> java.util.stream.Stream<scala.Tuple2<K,V>> stream(scala.collection.immutable.HashMap<K,V> coll)
Both sequential and parallel operations will be efficient.
coll
- The immutable.HashMap to traversepublic static <T> java.util.stream.Stream<T> stream(scala.collection.immutable.HashSet<T> coll)
Both sequential and parallel operations will be efficient.
coll
- The immutable.HashSet to traversepublic static <K> java.util.stream.Stream<K> streamKeys(scala.collection.mutable.HashMap<K,?> coll)
Both sequential and parallel operations will be efficient.
coll
- The mutable.HashMap to traversepublic static <V> java.util.stream.Stream<V> streamValues(scala.collection.mutable.HashMap<? super java.lang.Object,V> coll)
Both sequential and parallel operations will be efficient.
coll
- The mutable.HashMap to traversepublic static <K,V> java.util.stream.Stream<scala.Tuple2<K,V>> stream(scala.collection.mutable.HashMap<K,V> coll)
Both sequential and parallel operations will be efficient.
coll
- The mutable.HashMap to traversepublic static <T> java.util.stream.Stream<T> stream(scala.collection.mutable.HashSet<T> coll)
Both sequential and parallel operations will be efficient.
coll
- The mutable.HashSet to traversepublic static <T> java.util.stream.Stream<T> stream(scala.collection.immutable.Vector<T> coll)
Both sequential and parallel operations will be efficient.
coll
- The Vector to traversepublic static <K> java.util.stream.Stream<K> streamKeys(scala.collection.Map<K,?> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the streamAccumulatedKeys method instead, but note that this creates a new collection containing the Map's keys.
coll
- The Map to traversepublic static <V> java.util.stream.Stream<V> streamValues(scala.collection.Map<?,V> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the streamAccumulatedValues method instead, but note that this creates a new collection containing the Map's values.
coll
- The Map to traversepublic static <K,V> java.util.stream.Stream<scala.Tuple2<K,V>> stream(scala.collection.Map<K,V> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the streamAccumulated method instead, but note that this creates a new collection containing the Map's key-value pairs.
coll
- The Map to traversepublic static <T> java.util.stream.Stream<T> stream(scala.collection.Iterator<T> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the streamAccumulated method instead, but note that this creates a copy of the contents of the Iterator.
coll
- The scala.collection.Iterator to traversepublic static <T> java.util.stream.Stream<T> stream(scala.collection.Iterable<T> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the streamAccumulated method instead, but note that this creates a copy of the contents of the Iterable
coll
- The scala.collection.Iterable to traversepublic static <T> java.util.stream.Stream<T> streamAccumulated(scala.collection.TraversableOnce<T> coll)
Both sequential and parallel operations will be efficient.
coll
- The collection to traversepublic static <K> java.util.stream.Stream<K> streamAccumulatedKeys(scala.collection.Map<K,?> coll)
Both sequential and parallel operations will be efficient.
coll
- The map containing keys to traversepublic static <V> java.util.stream.Stream<V> streamAccumulatedValues(scala.collection.Map<?,V> coll)
Both sequential and parallel operations will be efficient.
coll
- The map containing values to traversepublic static java.util.stream.DoubleStream doubleStream(scala.collection.IndexedSeq<java.lang.Double> coll)
Both sequential and parallel operations will be efficient.
coll
- The IndexedSeq to traversepublic static java.util.stream.DoubleStream doubleStreamKeys(scala.collection.immutable.HashMap<java.lang.Double,? super java.lang.Object> coll)
Both sequential and parallel operations will be efficient.
coll
- The immutable.HashMap to traversepublic static java.util.stream.DoubleStream doubleStreamValues(scala.collection.immutable.HashMap<? super java.lang.Object,java.lang.Double> coll)
Both sequential and parallel operations will be efficient.
coll
- The immutable.HashMap to traversepublic static java.util.stream.DoubleStream doubleStream(scala.collection.immutable.HashSet<java.lang.Double> coll)
Both sequential and parallel operations will be efficient.
coll
- The immutable.HashSet to traversepublic static java.util.stream.DoubleStream doubleStreamKeys(scala.collection.mutable.HashMap<java.lang.Double,?> coll)
Both sequential and parallel operations will be efficient.
coll
- The mutable.HashMap to traversepublic static java.util.stream.DoubleStream doubleStreamValues(scala.collection.mutable.HashMap<? super java.lang.Object,java.lang.Double> coll)
Both sequential and parallel operations will be efficient.
coll
- The mutable.HashMap to traversepublic static java.util.stream.DoubleStream doubleStream(scala.collection.mutable.HashSet<java.lang.Double> coll)
Both sequential and parallel operations will be efficient.
coll
- The mutable.HashSet to traversepublic static java.util.stream.DoubleStream doubleStream(scala.collection.immutable.Vector<java.lang.Double> coll)
Both sequential and parallel operations will be efficient.
coll
- The Vector to traversepublic static java.util.stream.DoubleStream doubleStreamKeys(scala.collection.Map<java.lang.Double,?> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the doubleStreamAccumulatedKeys method instead, but note that this creates a new collection containing the Map's keys.
coll
- The Map to traversepublic static java.util.stream.DoubleStream doubleStreamValues(scala.collection.Map<?,java.lang.Double> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the doubleStreamAccumulatedValues method instead, but note that this creates a new collection containing the Map's values.
coll
- The Map to traversepublic static java.util.stream.DoubleStream doubleStream(scala.collection.Iterator<java.lang.Double> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the doubleStreamAccumulated method instead, but note that this creates a copy of the contents of the Iterator.
coll
- The scala.collection.Iterator to traversepublic static java.util.stream.DoubleStream doubleStream(scala.collection.Iterable<java.lang.Double> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the doubleStreamAccumulated method instead, but note that this creates a copy of the contents of the Iterable.
coll
- The scala.collection.Iterable to traversepublic static java.util.stream.DoubleStream doubleStreamAccumulated(scala.collection.TraversableOnce<java.lang.Double> coll)
Both sequential and parallel operations will be efficient.
coll
- The collection to traversepublic static java.util.stream.DoubleStream doubleStreamAccumulatedKeys(scala.collection.Map<java.lang.Double,?> coll)
Both sequential and parallel operations will be efficient.
coll
- The map containing keys to traversepublic static java.util.stream.DoubleStream doubleStreamAccumulatedValues(scala.collection.Map<?,java.lang.Double> coll)
Both sequential and parallel operations will be efficient.
coll
- The map containing values to traversepublic static java.util.stream.IntStream intStream(scala.collection.BitSet coll)
Both sequential and parallel operations will be efficient.
coll
- The BitSet to traversepublic static java.util.stream.IntStream intStream(scala.collection.immutable.Range coll)
Both sequential and parallel operations will be efficient.
coll
- The Range to traversepublic static java.util.stream.IntStream intStream(scala.collection.IndexedSeq<java.lang.Integer> coll)
Both sequential and parallel operations will be efficient.
coll
- The IndexedSeq to traversepublic static java.util.stream.IntStream intStreamKeys(scala.collection.immutable.HashMap<java.lang.Integer,? super java.lang.Object> coll)
Both sequential and parallel operations will be efficient.
coll
- The immutable.HashMap to traversepublic static java.util.stream.IntStream intStreamValues(scala.collection.immutable.HashMap<? super java.lang.Object,java.lang.Integer> coll)
Both sequential and parallel operations will be efficient.
coll
- The immutable.HashMap to traversepublic static java.util.stream.IntStream intStream(scala.collection.immutable.HashSet<java.lang.Integer> coll)
Both sequential and parallel operations will be efficient.
coll
- The immutable.HashSet to traversepublic static java.util.stream.IntStream intStreamKeys(scala.collection.mutable.HashMap<java.lang.Integer,?> coll)
Both sequential and parallel operations will be efficient.
coll
- The mutable.HashMap to traversepublic static java.util.stream.IntStream intStreamValues(scala.collection.mutable.HashMap<? super java.lang.Object,java.lang.Integer> coll)
Both sequential and parallel operations will be efficient.
coll
- The mutable.HashMap to traversepublic static java.util.stream.IntStream intStream(scala.collection.mutable.HashSet<java.lang.Integer> coll)
Both sequential and parallel operations will be efficient.
coll
- The mutable.HashSet to traversepublic static java.util.stream.IntStream intStream(scala.collection.immutable.Vector<java.lang.Integer> coll)
Both sequential and parallel operations will be efficient.
coll
- The Vector to traversepublic static java.util.stream.IntStream intStreamKeys(scala.collection.Map<java.lang.Integer,?> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the intStreamAccumulatedKeys method instead, but note that this creates a new collection containing the Map's keys.
coll
- The Map to traversepublic static java.util.stream.IntStream intStreamValues(scala.collection.Map<?,java.lang.Integer> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the intStreamAccumulatedValues method instead, but note that this creates a new collection containing the Map's values.
coll
- The Map to traversepublic static java.util.stream.IntStream intStream(scala.collection.Iterator<java.lang.Integer> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the intStreamAccumulated method instead, but note that this creates a copy of the contents of the Iterator.
coll
- The scala.collection.Iterator to traversepublic static java.util.stream.IntStream intStream(scala.collection.Iterable<java.lang.Integer> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the intStreamAccumulated method instead, but note that this creates a copy of the contents of the Iterable.
coll
- The scala.collection.Iterable to traversepublic static java.util.stream.IntStream intStreamAccumulated(scala.collection.TraversableOnce<java.lang.Integer> coll)
Both sequential and parallel operations will be efficient.
coll
- The collection to traversepublic static java.util.stream.IntStream intStreamAccumulatedKeys(scala.collection.Map<java.lang.Integer,?> coll)
Both sequential and parallel operations will be efficient.
coll
- The map containing keys to traversepublic static java.util.stream.IntStream intStreamAccumulatedValues(scala.collection.Map<?,java.lang.Integer> coll)
Both sequential and parallel operations will be efficient.
coll
- The map containing values to traversepublic static java.util.stream.LongStream longStream(scala.collection.IndexedSeq<java.lang.Long> coll)
Both sequential and parallel operations will be efficient.
coll
- The IndexedSeq to traversepublic static java.util.stream.LongStream longStreamKeys(scala.collection.immutable.HashMap<java.lang.Long,? super java.lang.Object> coll)
Both sequential and parallel operations will be efficient.
coll
- The immutable.HashMap to traversepublic static java.util.stream.LongStream longStreamValues(scala.collection.immutable.HashMap<? super java.lang.Object,java.lang.Long> coll)
Both sequential and parallel operations will be efficient.
coll
- The immutable.HashMap to traversepublic static java.util.stream.LongStream longStream(scala.collection.immutable.HashSet<java.lang.Long> coll)
Both sequential and parallel operations will be efficient.
coll
- The immutable.HashSet to traversepublic static java.util.stream.LongStream longStreamKeys(scala.collection.mutable.HashMap<java.lang.Long,?> coll)
Both sequential and parallel operations will be efficient.
coll
- The mutable.HashMap to traversepublic static java.util.stream.LongStream longStreamValues(scala.collection.mutable.HashMap<? super java.lang.Object,java.lang.Long> coll)
Both sequential and parallel operations will be efficient.
coll
- The mutable.HashMap to traversepublic static java.util.stream.LongStream longStream(scala.collection.mutable.HashSet<java.lang.Long> coll)
Both sequential and parallel operations will be efficient.
coll
- The mutable.HashSet to traversepublic static java.util.stream.LongStream longStream(scala.collection.immutable.Vector<java.lang.Long> coll)
Both sequential and parallel operations will be efficient.
coll
- The Vector to traversepublic static java.util.stream.LongStream longStreamKeys(scala.collection.Map<java.lang.Long,?> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the longStreamAccumulatedKeys method instead, but note that this creates a new collection containing the Map's keys.
coll
- The Map to traversepublic static java.util.stream.LongStream longStreamValues(scala.collection.Map<?,java.lang.Long> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the longStreamAccumulatedValues method instead, but note that this creates a new collection containing the Map's values.
coll
- The Map to traversepublic static java.util.stream.LongStream longStream(scala.collection.Iterator<java.lang.Long> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the longStreamAccumulated method instead, but note that this creates a copy of the contents of the Iterator.
coll
- The scala.collection.Iterator to traversepublic static java.util.stream.LongStream longStream(scala.collection.Iterable<java.lang.Long> coll)
Only sequential operations will be efficient. For efficient parallel operation, use the longStreamAccumulated method instead, but note that this creates a copy of the contents of the Iterable.
coll
- The scala.collection.Iterable to traversepublic static java.util.stream.LongStream longStreamAccumulated(scala.collection.TraversableOnce<java.lang.Long> coll)
Both sequential and parallel operations will be efficient.
coll
- The collection to traversepublic static java.util.stream.LongStream longStreamAccumulatedKeys(scala.collection.Map<java.lang.Long,?> coll)
Both sequential and parallel operations will be efficient.
coll
- The map containing keys to traversepublic static java.util.stream.LongStream longStreamAccumulatedValues(scala.collection.Map<?,java.lang.Long> coll)
Both sequential and parallel operations will be efficient.
coll
- The map containing values to traverse