/** * Generates a Stream that traverses a scala.collection.immutable.Vector. * <p> * Both sequential and parallel operations will be efficient. * * @param coll The Vector to traverse * @return A Stream view of the collection which, by default, executes sequentially. */ public static <T> Stream<T> stream(scala.collection.immutable.Vector<T> coll) { return StreamSupport.stream(new StepsAnyVector<T>(coll, 0, coll.length()), false); }
/** * Generates a Stream that traverses a scala.collection.immutable.Vector. * <p> * Both sequential and parallel operations will be efficient. * * @param coll The Vector to traverse * @return A Stream view of the collection which, by default, executes sequentially. */ public static <T> Stream<T> stream(scala.collection.immutable.Vector<T> coll) { return StreamSupport.stream(new StepsAnyVector<T>(coll, 0, coll.length()), false); }
/** * Generates a Stream that traverses a scala.collection.immutable.Vector. * <p> * Both sequential and parallel operations will be efficient. * * @param coll The Vector to traverse * @return A Stream view of the collection which, by default, executes sequentially. */ public static <T> Stream<T> stream(scala.collection.immutable.Vector<T> coll) { return StreamSupport.stream(new StepsAnyVector<T>(coll, 0, coll.length()), false); }
/** * Generates a IntStream that traverses a scala.collection.immutable.Vector of Ints. * <p> * Both sequential and parallel operations will be efficient. * * @param coll The Vector to traverse * @return A IntStream view of the collection which, by default, executes sequentially. */ public static IntStream intStream(scala.collection.immutable.Vector<Integer> coll) { scala.collection.immutable.Vector erased = (scala.collection.immutable.Vector)coll; return StreamSupport.intStream(new StepsIntVector(erased, 0, coll.length()), false); }
/** * Generates a LongStream that traverses a scala.collection.immutable.Vector of Longs. * <p> * Both sequential and parallel operations will be efficient. * * @param coll The Vector to traverse * @return A LongStream view of the collection which, by default, executes sequentially. */ public static LongStream longStream(scala.collection.immutable.Vector<Long> coll) { scala.collection.immutable.Vector erased = (scala.collection.immutable.Vector)coll; return StreamSupport.longStream(new StepsLongVector(erased, 0, coll.length()), false); }
/** * Generates a DoubleStream that traverses a scala.collection.immutable.Vector of Doubles. * <p> * Both sequential and parallel operations will be efficient. * * @param coll The Vector to traverse * @return A DoubleStream view of the collection which, by default, executes sequentially. */ public static DoubleStream doubleStream(scala.collection.immutable.Vector<Double> coll) { scala.collection.immutable.Vector erased = (scala.collection.immutable.Vector)coll; return StreamSupport.doubleStream(new StepsDoubleVector(erased, 0, coll.length()), false); }
/** * Generates a LongStream that traverses a scala.collection.immutable.Vector of Longs. * <p> * Both sequential and parallel operations will be efficient. * * @param coll The Vector to traverse * @return A LongStream view of the collection which, by default, executes sequentially. */ public static LongStream longStream(scala.collection.immutable.Vector<Long> coll) { scala.collection.immutable.Vector erased = (scala.collection.immutable.Vector)coll; return StreamSupport.longStream(new StepsLongVector(erased, 0, coll.length()), false); }
/** * Generates a DoubleStream that traverses a scala.collection.immutable.Vector of Doubles. * <p> * Both sequential and parallel operations will be efficient. * * @param coll The Vector to traverse * @return A DoubleStream view of the collection which, by default, executes sequentially. */ public static DoubleStream doubleStream(scala.collection.immutable.Vector<Double> coll) { scala.collection.immutable.Vector erased = (scala.collection.immutable.Vector)coll; return StreamSupport.doubleStream(new StepsDoubleVector(erased, 0, coll.length()), false); }
/** * Generates a LongStream that traverses a scala.collection.immutable.Vector of Longs. * <p> * Both sequential and parallel operations will be efficient. * * @param coll The Vector to traverse * @return A LongStream view of the collection which, by default, executes sequentially. */ public static LongStream longStream(scala.collection.immutable.Vector<Long> coll) { scala.collection.immutable.Vector erased = (scala.collection.immutable.Vector)coll; return StreamSupport.longStream(new StepsLongVector(erased, 0, coll.length()), false); }
/** * Generates a DoubleStream that traverses a scala.collection.immutable.Vector of Doubles. * <p> * Both sequential and parallel operations will be efficient. * * @param coll The Vector to traverse * @return A DoubleStream view of the collection which, by default, executes sequentially. */ public static DoubleStream doubleStream(scala.collection.immutable.Vector<Double> coll) { scala.collection.immutable.Vector erased = (scala.collection.immutable.Vector)coll; return StreamSupport.doubleStream(new StepsDoubleVector(erased, 0, coll.length()), false); }
/** * Generates a IntStream that traverses a scala.collection.immutable.Vector of Ints. * <p> * Both sequential and parallel operations will be efficient. * * @param coll The Vector to traverse * @return A IntStream view of the collection which, by default, executes sequentially. */ public static IntStream intStream(scala.collection.immutable.Vector<Integer> coll) { scala.collection.immutable.Vector erased = (scala.collection.immutable.Vector)coll; return StreamSupport.intStream(new StepsIntVector(erased, 0, coll.length()), false); }
/** * Generates a IntStream that traverses a scala.collection.immutable.Vector of Ints. * <p> * Both sequential and parallel operations will be efficient. * * @param coll The Vector to traverse * @return A IntStream view of the collection which, by default, executes sequentially. */ public static IntStream intStream(scala.collection.immutable.Vector<Integer> coll) { scala.collection.immutable.Vector erased = (scala.collection.immutable.Vector)coll; return StreamSupport.intStream(new StepsIntVector(erased, 0, coll.length()), false); }