@@ -29,7 +29,7 @@ public class ScalaStreamSupport {
2929 * @return A Stream view of the collection which, by default, executes sequentially.
3030 */
3131 public static <T > Stream <T > stream (scala .collection .IndexedSeq <T > coll ) {
32- return StreamSupport .stream (new StepsAnyIndexedSeq <T >(coll , 0 , coll .length ()), false );
32+ return StreamSupport .stream (new StepsAnyIndexedSeq <T >(( scala . collection . IndexedSeq ) coll , 0 , coll .length ()), false );
3333 }
3434
3535 /**
@@ -90,7 +90,7 @@ public static <T> Stream<T> stream(scala.collection.immutable.HashSet<T> coll) {
9090 * @return A Stream view of the collection which, by default, executes sequentially.
9191 */
9292 public static <K > Stream <K > streamKeys (scala .collection .mutable .HashMap <K , ?> coll ) {
93- scala . collection . mutable . HashEntry [] tbl = CollectionInternals .getTable (coll );
93+ Object [] tbl = CollectionInternals .getTable (coll );
9494 return StreamSupport .stream (new StepsAnyHashTableKey (tbl , 0 , tbl .length ), false );
9595 }
9696
@@ -103,7 +103,7 @@ public static <K> Stream<K> streamKeys(scala.collection.mutable.HashMap<K, ?> co
103103 * @return A Stream view of the collection which, by default, executes sequentially.
104104 */
105105 public static <V > Stream <V > streamValues (scala .collection .mutable .HashMap <? super Object , V > coll ) {
106- scala . collection . mutable . HashEntry [] tbl = CollectionInternals .getTable (coll );
106+ Object [] tbl = CollectionInternals .getTable (coll );
107107 return StreamSupport .stream (new StepsAnyDefaultHashTableValue (tbl , 0 , tbl .length ), false );
108108 }
109109
@@ -117,7 +117,7 @@ public static <V> Stream<V> streamValues(scala.collection.mutable.HashMap<? supe
117117 * @return A Stream view of the collection which, by default, executes sequentially.
118118 */
119119 public static <K , V > Stream < scala .Tuple2 <K , V > > stream (scala .collection .mutable .HashMap <K , V > coll ) {
120- scala . collection . mutable . HashEntry < K , scala . collection . mutable . DefaultEntry < K , V > > [] tbl =
120+ Object [] tbl =
121121 CollectionInternals .getTable (coll );
122122 return StreamSupport .stream (new StepsAnyDefaultHashTable <K , V >(tbl , 0 , tbl .length ), false );
123123 }
@@ -226,7 +226,7 @@ public static <T> Stream<T> stream(scala.collection.Iterable<T> coll) {
226226 * @param coll The collection to traverse
227227 * @return A Stream view of the collection which, by default, executes sequentially.
228228 */
229- public static <T > Stream <T > streamAccumulated (scala .collection .TraversableOnce <T > coll ) {
229+ public static <T > Stream <T > streamAccumulated (scala .collection .IterableOnce <T > coll ) {
230230 scala .compat .java8 .collectionImpl .Accumulator <T > acc = scala .compat .java8 .collectionImpl .Accumulator .from (coll );
231231 return StreamSupport .stream (acc .spliterator (), false );
232232 }
@@ -321,7 +321,7 @@ public static DoubleStream doubleStream(scala.collection.immutable.HashSet<Doubl
321321 * @return A DoubleStream view of the collection which, by default, executes sequentially.
322322 */
323323 public static DoubleStream doubleStreamKeys (scala .collection .mutable .HashMap <Double , ?> coll ) {
324- scala . collection . mutable . HashEntry [] tbl = CollectionInternals .getTable (coll );
324+ Object [] tbl = CollectionInternals .getTable (coll );
325325 return StreamSupport .doubleStream (new StepsDoubleHashTableKey (tbl , 0 , tbl .length ), false );
326326 }
327327
@@ -334,7 +334,7 @@ public static DoubleStream doubleStreamKeys(scala.collection.mutable.HashMap<Dou
334334 * @return A DoubleStream view of the collection which, by default, executes sequentially.
335335 */
336336 public static DoubleStream doubleStreamValues (scala .collection .mutable .HashMap <? super Object , Double > coll ) {
337- scala . collection . mutable . HashEntry [] tbl = CollectionInternals .getTable (coll );
337+ Object [] tbl = CollectionInternals .getTable (coll );
338338 return StreamSupport .doubleStream (new StepsDoubleDefaultHashTableValue (tbl , 0 , tbl .length ), false );
339339 }
340340
@@ -432,9 +432,9 @@ public static DoubleStream doubleStream(scala.collection.Iterable<Double> coll)
432432 * @param coll The collection to traverse
433433 * @return A Stream view of the collection which, by default, executes sequentially.
434434 */
435- public static DoubleStream doubleStreamAccumulated (scala .collection .TraversableOnce <Double > coll ) {
435+ public static DoubleStream doubleStreamAccumulated (scala .collection .IterableOnce <Double > coll ) {
436436 scala .compat .java8 .collectionImpl .DoubleAccumulator acc =
437- scala .compat .java8 .collectionImpl .DoubleAccumulator .from ((scala .collection .TraversableOnce )coll );
437+ scala .compat .java8 .collectionImpl .DoubleAccumulator .from ((scala .collection .IterableOnce )coll );
438438 return StreamSupport .doubleStream (acc .spliterator (), false );
439439 }
440440
@@ -557,7 +557,7 @@ public static IntStream intStream(scala.collection.immutable.HashSet<Integer> co
557557 * @return A IntStream view of the collection which, by default, executes sequentially.
558558 */
559559 public static IntStream intStreamKeys (scala .collection .mutable .HashMap <Integer , ?> coll ) {
560- scala . collection . mutable . HashEntry [] tbl = CollectionInternals .getTable (coll );
560+ Object [] tbl = CollectionInternals .getTable (coll );
561561 return StreamSupport .intStream (new StepsIntHashTableKey (tbl , 0 , tbl .length ), false );
562562 }
563563
@@ -570,7 +570,7 @@ public static IntStream intStreamKeys(scala.collection.mutable.HashMap<Integer,
570570 * @return A IntStream view of the collection which, by default, executes sequentially.
571571 */
572572 public static IntStream intStreamValues (scala .collection .mutable .HashMap <? super Object , Integer > coll ) {
573- scala . collection . mutable . HashEntry [] tbl = CollectionInternals .getTable (coll );
573+ Object [] tbl = CollectionInternals .getTable (coll );
574574 return StreamSupport .intStream (new StepsIntDefaultHashTableValue (tbl , 0 , tbl .length ), false );
575575 }
576576
@@ -668,9 +668,9 @@ public static IntStream intStream(scala.collection.Iterable<Integer> coll) {
668668 * @param coll The collection to traverse
669669 * @return A Stream view of the collection which, by default, executes sequentially.
670670 */
671- public static IntStream intStreamAccumulated (scala .collection .TraversableOnce <Integer > coll ) {
671+ public static IntStream intStreamAccumulated (scala .collection .IterableOnce <Integer > coll ) {
672672 scala .compat .java8 .collectionImpl .IntAccumulator acc =
673- scala .compat .java8 .collectionImpl .IntAccumulator .from ((scala .collection .TraversableOnce )coll );
673+ scala .compat .java8 .collectionImpl .IntAccumulator .from ((scala .collection .IterableOnce )coll );
674674 return StreamSupport .intStream (acc .spliterator (), false );
675675 }
676676
@@ -766,7 +766,7 @@ public static LongStream longStream(scala.collection.immutable.HashSet<Long> col
766766 * @return A LongStream view of the collection which, by default, executes sequentially.
767767 */
768768 public static LongStream longStreamKeys (scala .collection .mutable .HashMap <Long , ?> coll ) {
769- scala . collection . mutable . HashEntry [] tbl = CollectionInternals .getTable (coll );
769+ Object [] tbl = CollectionInternals .getTable (coll );
770770 return StreamSupport .longStream (new StepsLongHashTableKey (tbl , 0 , tbl .length ), false );
771771 }
772772
@@ -779,7 +779,7 @@ public static LongStream longStreamKeys(scala.collection.mutable.HashMap<Long, ?
779779 * @return A LongStream view of the collection which, by default, executes sequentially.
780780 */
781781 public static LongStream longStreamValues (scala .collection .mutable .HashMap <? super Object , Long > coll ) {
782- scala . collection . mutable . HashEntry [] tbl = CollectionInternals .getTable (coll );
782+ Object [] tbl = CollectionInternals .getTable (coll );
783783 return StreamSupport .longStream (new StepsLongDefaultHashTableValue (tbl , 0 , tbl .length ), false );
784784 }
785785
@@ -877,9 +877,9 @@ public static LongStream longStream(scala.collection.Iterable<Long> coll) {
877877 * @param coll The collection to traverse
878878 * @return A Stream view of the collection which, by default, executes sequentially.
879879 */
880- public static LongStream longStreamAccumulated (scala .collection .TraversableOnce <Long > coll ) {
880+ public static LongStream longStreamAccumulated (scala .collection .IterableOnce <Long > coll ) {
881881 scala .compat .java8 .collectionImpl .LongAccumulator acc =
882- scala .compat .java8 .collectionImpl .LongAccumulator .from ((scala .collection .TraversableOnce )coll );
882+ scala .compat .java8 .collectionImpl .LongAccumulator .from ((scala .collection .IterableOnce )coll );
883883 return StreamSupport .longStream (acc .spliterator (), false );
884884 }
885885
0 commit comments