@@ -32,43 +32,6 @@ public static <T> Stream<T> stream(scala.collection.IndexedSeq<T> coll) {
32
32
return StreamSupport .stream (new StepsAnyIndexedSeq <T >((scala .collection .IndexedSeq )coll , 0 , coll .length ()), false );
33
33
}
34
34
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
-
72
35
/**
73
36
* Generates a Stream that traverses a scala.collection.immutable.HashSet.
74
37
* <p>
@@ -275,30 +238,6 @@ public static DoubleStream doubleStream(scala.collection.IndexedSeq<Double> coll
275
238
return StreamSupport .doubleStream (new StepsDoubleIndexedSeq (coll , 0 , coll .length ()), false );
276
239
}
277
240
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
-
302
241
/**
303
242
* Generates a DoubleStream that traverses a scala.collection.immutable.HashSet of Doubles.
304
243
* <p>
@@ -511,30 +450,6 @@ public static IntStream intStream(scala.collection.IndexedSeq<Integer> coll) {
511
450
return StreamSupport .intStream (new StepsIntIndexedSeq (coll , 0 , coll .length ()), false );
512
451
}
513
452
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
-
538
453
/**
539
454
* Generates a IntStream that traverses a scala.collection.immutable.HashSet of Ints.
540
455
* <p>
@@ -720,30 +635,6 @@ public static LongStream longStream(scala.collection.IndexedSeq<Long> coll) {
720
635
return StreamSupport .longStream (new StepsLongIndexedSeq (coll , 0 , coll .length ()), false );
721
636
}
722
637
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
-
747
638
/**
748
639
* Generates a LongStream that traverses a scala.collection.immutable.HashSet of Longs.
749
640
* <p>
0 commit comments