@@ -32,43 +32,6 @@ public static <T> Stream<T> stream(scala.collection.IndexedSeq<T> coll) {
3232 return StreamSupport .stream (new StepsAnyIndexedSeq <T >((scala .collection .IndexedSeq )coll , 0 , coll .length ()), false );
3333 }
3434
35- /**
36- * Generates a Stream that traverses the keys of a scala.collection.immutable.HashMap.
37- * <p>
38- * Both sequential and parallel operations will be efficient.
39- *
40- * @param coll The immutable.HashMap to traverse
41- * @return A Stream view of the collection which, by default, executes sequentially.
42- */
43- public static <K > Stream <K > streamKeys (scala .collection .immutable .HashMap <K , ? super Object > coll ) {
44- return StreamSupport .stream (new StepsAnyImmHashMapKey <K , Object >(coll , 0 , coll .size ()), false );
45- }
46-
47- /**
48- * Generates a Stream that traverses the values of a scala.collection.immutable.HashMap.
49- * <p>
50- * Both sequential and parallel operations will be efficient.
51- *
52- * @param coll The immutable.HashMap to traverse
53- * @return A Stream view of the collection which, by default, executes sequentially.
54- */
55- public static <V > Stream <V > streamValues (scala .collection .immutable .HashMap <? super Object , V > coll ) {
56- return StreamSupport .stream (new StepsAnyImmHashMapValue <Object , V >(coll , 0 , coll .size ()), false );
57- }
58-
59- /**
60- * Generates a Stream that traverses the key-value pairs of a scala.collection.immutable.HashMap.
61- * The key-value pairs are presented as instances of scala.Tuple2.
62- * <p>
63- * Both sequential and parallel operations will be efficient.
64- *
65- * @param coll The immutable.HashMap to traverse
66- * @return A Stream view of the collection which, by default, executes sequentially.
67- */
68- public static <K , V > Stream < scala .Tuple2 <K , V > > stream (scala .collection .immutable .HashMap <K , V > coll ) {
69- return StreamSupport .stream (new StepsAnyImmHashMap <K , V >(coll , 0 , coll .size ()), false );
70- }
71-
7235 /**
7336 * Generates a Stream that traverses a scala.collection.immutable.HashSet.
7437 * <p>
@@ -275,30 +238,6 @@ public static DoubleStream doubleStream(scala.collection.IndexedSeq<Double> coll
275238 return StreamSupport .doubleStream (new StepsDoubleIndexedSeq (coll , 0 , coll .length ()), false );
276239 }
277240
278- /**
279- * Generates a DoubleStream that traverses double-valued keys of a scala.collection.immutable.HashMap.
280- * <p>
281- * Both sequential and parallel operations will be efficient.
282- *
283- * @param coll The immutable.HashMap to traverse
284- * @return A DoubleStream view of the collection which, by default, executes sequentially.
285- */
286- public static DoubleStream doubleStreamKeys (scala .collection .immutable .HashMap <Double , ? super Object > coll ) {
287- return StreamSupport .doubleStream (new StepsDoubleImmHashMapKey (coll , 0 , coll .size ()), false );
288- }
289-
290- /**
291- * Generates a DoubleStream that traverses double-valued values of a scala.collection.immutable.HashMap.
292- * <p>
293- * Both sequential and parallel operations will be efficient.
294- *
295- * @param coll The immutable.HashMap to traverse
296- * @return A DoubleStream view of the collection which, by default, executes sequentially.
297- */
298- public static DoubleStream doubleStreamValues (scala .collection .immutable .HashMap <? super Object , Double > coll ) {
299- return StreamSupport .doubleStream (new StepsDoubleImmHashMapValue (coll , 0 , coll .size ()), false );
300- }
301-
302241 /**
303242 * Generates a DoubleStream that traverses a scala.collection.immutable.HashSet of Doubles.
304243 * <p>
@@ -511,30 +450,6 @@ public static IntStream intStream(scala.collection.IndexedSeq<Integer> coll) {
511450 return StreamSupport .intStream (new StepsIntIndexedSeq (coll , 0 , coll .length ()), false );
512451 }
513452
514- /**
515- * Generates a IntStream that traverses int-valued keys of a scala.collection.immutable.HashMap.
516- * <p>
517- * Both sequential and parallel operations will be efficient.
518- *
519- * @param coll The immutable.HashMap to traverse
520- * @return A IntStream view of the collection which, by default, executes sequentially.
521- */
522- public static IntStream intStreamKeys (scala .collection .immutable .HashMap <Integer , ? super Object > coll ) {
523- return StreamSupport .intStream (new StepsIntImmHashMapKey (coll , 0 , coll .size ()), false );
524- }
525-
526- /**
527- * Generates a IntStream that traverses int-valued values of a scala.collection.immutable.HashMap.
528- * <p>
529- * Both sequential and parallel operations will be efficient.
530- *
531- * @param coll The immutable.HashMap to traverse
532- * @return A IntStream view of the collection which, by default, executes sequentially.
533- */
534- public static IntStream intStreamValues (scala .collection .immutable .HashMap <? super Object , Integer > coll ) {
535- return StreamSupport .intStream (new StepsIntImmHashMapValue (coll , 0 , coll .size ()), false );
536- }
537-
538453 /**
539454 * Generates a IntStream that traverses a scala.collection.immutable.HashSet of Ints.
540455 * <p>
@@ -720,30 +635,6 @@ public static LongStream longStream(scala.collection.IndexedSeq<Long> coll) {
720635 return StreamSupport .longStream (new StepsLongIndexedSeq (coll , 0 , coll .length ()), false );
721636 }
722637
723- /**
724- * Generates a LongStream that traverses long-valued keys of a scala.collection.immutable.HashMap.
725- * <p>
726- * Both sequential and parallel operations will be efficient.
727- *
728- * @param coll The immutable.HashMap to traverse
729- * @return A LongStream view of the collection which, by default, executes sequentially.
730- */
731- public static LongStream longStreamKeys (scala .collection .immutable .HashMap <Long , ? super Object > coll ) {
732- return StreamSupport .longStream (new StepsLongImmHashMapKey (coll , 0 , coll .size ()), false );
733- }
734-
735- /**
736- * Generates a LongStream that traverses long-valued values of a scala.collection.immutable.HashMap.
737- * <p>
738- * Both sequential and parallel operations will be efficient.
739- *
740- * @param coll The immutable.HashMap to traverse
741- * @return A LongStream view of the collection which, by default, executes sequentially.
742- */
743- public static LongStream longStreamValues (scala .collection .immutable .HashMap <? super Object , Long > coll ) {
744- return StreamSupport .longStream (new StepsLongImmHashMapValue (coll , 0 , coll .size ()), false );
745- }
746-
747638 /**
748639 * Generates a LongStream that traverses a scala.collection.immutable.HashSet of Longs.
749640 * <p>
0 commit comments