1
- package scala .compat .java8 .collectionImpl
1
+ package scala .compat .java8 .converterImpl
2
2
3
3
import java .util .Spliterator
4
+
5
+ import scala .compat .java8 .collectionImpl ._
4
6
import Stepper ._
5
7
6
8
/** Abstracts all the generic operations of stepping over an immutable HashMap by slicing it into pieces.
7
9
* `next` must update `i` but not `i0` so that later splitting steps can keep track of whether the
8
10
* collection needs some sort of modification before transmission to the subclass.
9
11
*/
10
- trait AbstractStepsLikeImmHashMap [K , V , A , Sub >: Null , Semi >: Null <: Sub with AbstractStepsLikeImmHashMap [K , V , A , Sub , _]]
12
+ private [java8] trait AbstractStepsLikeImmHashMap [K , V , A , Sub >: Null , Semi >: Null <: Sub with AbstractStepsLikeImmHashMap [K , V , A , Sub , _]]
11
13
extends AbstractStepsLikeSliced [collection.immutable.HashMap [K , V ], Sub , Semi ] {
12
14
protected var theIterator : Iterator [A ] = null
13
15
protected def demiclone (u : collection.immutable.HashMap [K ,V ], j0 : Int , jN : Int ): Semi
@@ -32,22 +34,22 @@ extends AbstractStepsLikeSliced[collection.immutable.HashMap[K, V], Sub, Semi] {
32
34
}
33
35
}
34
36
35
- abstract class StepsLikeImmHashMap [K , V , A , SIHM >: Null <: StepsLikeImmHashMap [K , V , A , _]](_underlying : collection.immutable.HashMap [K , V ], _i0 : Int , _iN : Int )
37
+ private [java8] abstract class StepsLikeImmHashMap [K , V , A , SIHM >: Null <: StepsLikeImmHashMap [K , V , A , _]](_underlying : collection.immutable.HashMap [K , V ], _i0 : Int , _iN : Int )
36
38
extends StepsLikeSliced [A , collection.immutable.HashMap [K , V ], SIHM ](_underlying, _i0, _iN)
37
39
with AbstractStepsLikeImmHashMap [K , V , A , AnyStepper [A ], SIHM ]
38
40
{}
39
41
40
- abstract class StepsDoubleLikeImmHashMap [K , V , SIHM >: Null <: StepsDoubleLikeImmHashMap [K , V , SIHM ]](_underlying : collection.immutable.HashMap [K , V ], _i0 : Int , _iN : Int )
42
+ private [java8] abstract class StepsDoubleLikeImmHashMap [K , V , SIHM >: Null <: StepsDoubleLikeImmHashMap [K , V , SIHM ]](_underlying : collection.immutable.HashMap [K , V ], _i0 : Int , _iN : Int )
41
43
extends StepsDoubleLikeSliced [collection.immutable.HashMap [K , V ], SIHM ](_underlying, _i0, _iN)
42
44
with AbstractStepsLikeImmHashMap [K , V , Double , DoubleStepper , SIHM ]
43
45
{}
44
46
45
- abstract class StepsIntLikeImmHashMap [K , V , SIHM >: Null <: StepsIntLikeImmHashMap [K , V , SIHM ]](_underlying : collection.immutable.HashMap [K , V ], _i0 : Int , _iN : Int )
47
+ private [java8] abstract class StepsIntLikeImmHashMap [K , V , SIHM >: Null <: StepsIntLikeImmHashMap [K , V , SIHM ]](_underlying : collection.immutable.HashMap [K , V ], _i0 : Int , _iN : Int )
46
48
extends StepsIntLikeSliced [collection.immutable.HashMap [K , V ], SIHM ](_underlying, _i0, _iN)
47
49
with AbstractStepsLikeImmHashMap [K , V , Int , IntStepper , SIHM ]
48
50
{}
49
51
50
- abstract class StepsLongLikeImmHashMap [K , V , SIHM >: Null <: StepsLongLikeImmHashMap [K , V , SIHM ]](_underlying : collection.immutable.HashMap [K , V ], _i0 : Int , _iN : Int )
52
+ private [java8] abstract class StepsLongLikeImmHashMap [K , V , SIHM >: Null <: StepsLongLikeImmHashMap [K , V , SIHM ]](_underlying : collection.immutable.HashMap [K , V ], _i0 : Int , _iN : Int )
51
53
extends StepsLongLikeSliced [collection.immutable.HashMap [K , V ], SIHM ](_underlying, _i0, _iN)
52
54
with AbstractStepsLikeImmHashMap [K , V , Long , LongStepper , SIHM ]
53
55
{}
0 commit comments