/** * Generates a Stream that traverses the values of a scala.collection.Map. * <p> * 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. * * @param coll The Map to traverse * @return A Stream view of the collection which, by default, executes sequentially. */ public static <V> Stream<V> streamValues(scala.collection.Map<?, V> coll) { return StreamSupport.stream(new StepsAnyIterator<V>(coll.valuesIterator()), false); }
/** * Generates a Stream that traverses the values of a scala.collection.Map. * <p> * 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. * * @param coll The Map to traverse * @return A Stream view of the collection which, by default, executes sequentially. */ public static <V> Stream<V> streamValues(scala.collection.Map<?, V> coll) { return StreamSupport.stream(new StepsAnyIterator<V>(coll.valuesIterator()), false); }
/** * Generates a Stream that traverses the values of a scala.collection.Map. * <p> * 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. * * @param coll The Map to traverse * @return A Stream view of the collection which, by default, executes sequentially. */ public static <V> Stream<V> streamValues(scala.collection.Map<?, V> coll) { return StreamSupport.stream(new StepsAnyIterator<V>(coll.valuesIterator()), false); }
/** * Generates a Stream that traverses the values of any Scala map by * accumulating those values into a buffer class (Accumulator). * <p> * Both sequential and parallel operations will be efficient. * * @param coll The map containing values to traverse * @return A Stream view of the collection which, by default, executes sequentially. */ public static <V> Stream<V> streamAccumulatedValues(scala.collection.Map<?, V> coll) { scala.compat.java8.collectionImpl.Accumulator<V> acc = scala.compat.java8.collectionImpl.Accumulator.from(coll.valuesIterator()); return StreamSupport.stream(acc.spliterator(), false); }
/** * Generates a Stream that traverses the values of any Scala map by * accumulating those values into a buffer class (Accumulator). * <p> * Both sequential and parallel operations will be efficient. * * @param coll The map containing values to traverse * @return A Stream view of the collection which, by default, executes sequentially. */ public static <V> Stream<V> streamAccumulatedValues(scala.collection.Map<?, V> coll) { scala.compat.java8.collectionImpl.Accumulator<V> acc = scala.compat.java8.collectionImpl.Accumulator.from(coll.valuesIterator()); return StreamSupport.stream(acc.spliterator(), false); }
/** * Generates a Stream that traverses the values of any Scala map by * accumulating those values into a buffer class (Accumulator). * <p> * Both sequential and parallel operations will be efficient. * * @param coll The map containing values to traverse * @return A Stream view of the collection which, by default, executes sequentially. */ public static <V> Stream<V> streamAccumulatedValues(scala.collection.Map<?, V> coll) { scala.compat.java8.collectionImpl.Accumulator<V> acc = scala.compat.java8.collectionImpl.Accumulator.from(coll.valuesIterator()); return StreamSupport.stream(acc.spliterator(), false); }
/** * Generates a LongStream that traverses the long-valued values of a scala.collection.Map. * <p> * 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. * * @param coll The Map to traverse * @return A LongStream view of the collection which, by default, executes sequentially. */ public static LongStream longStreamValues(scala.collection.Map<?, Long> coll) { scala.collection.Iterator iter = (scala.collection.Iterator)coll.valuesIterator(); return StreamSupport.longStream(new StepsLongIterator(iter), false); }
/** * Generates a IntStream that traverses the int-valued values of a scala.collection.Map. * <p> * 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. * * @param coll The Map to traverse * @return A IntStream view of the collection which, by default, executes sequentially. */ public static IntStream intStreamValues(scala.collection.Map<?, Integer> coll) { scala.collection.Iterator iter = (scala.collection.Iterator)coll.valuesIterator(); return StreamSupport.intStream(new StepsIntIterator(iter), false); }
/** * Generates a DoubleStream that traverses the double-valued values of a scala.collection.Map. * <p> * 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. * * @param coll The Map to traverse * @return A DoubleStream view of the collection which, by default, executes sequentially. */ public static DoubleStream doubleStreamValues(scala.collection.Map<?, Double> coll) { scala.collection.Iterator iter = (scala.collection.Iterator)coll.valuesIterator(); return StreamSupport.doubleStream(new StepsDoubleIterator(iter), false); }
/** * Generates a DoubleStream that traverses the double-valued values of a scala.collection.Map. * <p> * 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. * * @param coll The Map to traverse * @return A DoubleStream view of the collection which, by default, executes sequentially. */ public static DoubleStream doubleStreamValues(scala.collection.Map<?, Double> coll) { scala.collection.Iterator iter = (scala.collection.Iterator)coll.valuesIterator(); return StreamSupport.doubleStream(new StepsDoubleIterator(iter), false); }
/** * Generates a IntStream that traverses the int-valued values of a scala.collection.Map. * <p> * 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. * * @param coll The Map to traverse * @return A IntStream view of the collection which, by default, executes sequentially. */ public static IntStream intStreamValues(scala.collection.Map<?, Integer> coll) { scala.collection.Iterator iter = (scala.collection.Iterator)coll.valuesIterator(); return StreamSupport.intStream(new StepsIntIterator(iter), false); }
/** * Generates a DoubleStream that traverses the double-valued values of a scala.collection.Map. * <p> * 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. * * @param coll The Map to traverse * @return A DoubleStream view of the collection which, by default, executes sequentially. */ public static DoubleStream doubleStreamValues(scala.collection.Map<?, Double> coll) { scala.collection.Iterator iter = (scala.collection.Iterator)coll.valuesIterator(); return StreamSupport.doubleStream(new StepsDoubleIterator(iter), false); }
/** * Generates a LongStream that traverses the long-valued values of a scala.collection.Map. * <p> * 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. * * @param coll The Map to traverse * @return A LongStream view of the collection which, by default, executes sequentially. */ public static LongStream longStreamValues(scala.collection.Map<?, Long> coll) { scala.collection.Iterator iter = (scala.collection.Iterator)coll.valuesIterator(); return StreamSupport.longStream(new StepsLongIterator(iter), false); }
/** * Generates a IntStream that traverses the int-valued values of a scala.collection.Map. * <p> * 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. * * @param coll The Map to traverse * @return A IntStream view of the collection which, by default, executes sequentially. */ public static IntStream intStreamValues(scala.collection.Map<?, Integer> coll) { scala.collection.Iterator iter = (scala.collection.Iterator)coll.valuesIterator(); return StreamSupport.intStream(new StepsIntIterator(iter), false); }
/** * Generates a LongStream that traverses the long-valued values of a scala.collection.Map. * <p> * 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. * * @param coll The Map to traverse * @return A LongStream view of the collection which, by default, executes sequentially. */ public static LongStream longStreamValues(scala.collection.Map<?, Long> coll) { scala.collection.Iterator iter = (scala.collection.Iterator)coll.valuesIterator(); return StreamSupport.longStream(new StepsLongIterator(iter), false); }
/** * Generates a Stream that traverses the values of any Scala map by * accumulating those values into a buffer class (Accumulator). * <p> * Both sequential and parallel operations will be efficient. * * @param coll The map containing values to traverse * @return A Stream view of the collection which, by default, executes sequentially. */ public static DoubleStream doubleStreamAccumulatedValues(scala.collection.Map<?, Double> coll) { scala.compat.java8.collectionImpl.DoubleAccumulator acc = scala.compat.java8.collectionImpl.DoubleAccumulator.from((scala.collection.Iterator)coll.valuesIterator()); return StreamSupport.doubleStream(acc.spliterator(), false); }
/** * Generates a Stream that traverses the values of any Scala map by * accumulating those values into a buffer class (Accumulator). * <p> * Both sequential and parallel operations will be efficient. * * @param coll The map containing values to traverse * @return A Stream view of the collection which, by default, executes sequentially. */ public static IntStream intStreamAccumulatedValues(scala.collection.Map<?, Integer> coll) { scala.compat.java8.collectionImpl.IntAccumulator acc = scala.compat.java8.collectionImpl.IntAccumulator.from((scala.collection.Iterator)coll.valuesIterator()); return StreamSupport.intStream(acc.spliterator(), false); }
/** * Generates a Stream that traverses the values of any Scala map by * accumulating those values into a buffer class (Accumulator). * <p> * Both sequential and parallel operations will be efficient. * * @param coll The map containing values to traverse * @return A Stream view of the collection which, by default, executes sequentially. */ public static DoubleStream doubleStreamAccumulatedValues(scala.collection.Map<?, Double> coll) { scala.compat.java8.collectionImpl.DoubleAccumulator acc = scala.compat.java8.collectionImpl.DoubleAccumulator.from((scala.collection.Iterator)coll.valuesIterator()); return StreamSupport.doubleStream(acc.spliterator(), false); }
/** * Generates a Stream that traverses the values of any Scala map by * accumulating those values into a buffer class (Accumulator). * <p> * Both sequential and parallel operations will be efficient. * * @param coll The map containing values to traverse * @return A Stream view of the collection which, by default, executes sequentially. */ public static DoubleStream doubleStreamAccumulatedValues(scala.collection.Map<?, Double> coll) { scala.compat.java8.collectionImpl.DoubleAccumulator acc = scala.compat.java8.collectionImpl.DoubleAccumulator.from((scala.collection.Iterator)coll.valuesIterator()); return StreamSupport.doubleStream(acc.spliterator(), false); }
/** * Generates a Stream that traverses the values of any Scala map by * accumulating those values into a buffer class (Accumulator). * <p> * Both sequential and parallel operations will be efficient. * * @param coll The map containing values to traverse * @return A Stream view of the collection which, by default, executes sequentially. */ public static IntStream intStreamAccumulatedValues(scala.collection.Map<?, Integer> coll) { scala.compat.java8.collectionImpl.IntAccumulator acc = scala.compat.java8.collectionImpl.IntAccumulator.from((scala.collection.Iterator)coll.valuesIterator()); return StreamSupport.intStream(acc.spliterator(), false); }