@@ -17,7 +17,7 @@ import language.experimental.captureChecking
17
17
18
18
private [mutable] trait CheckedIndexedSeqView [+ A ] extends IndexedSeqView [A ] {
19
19
20
- protected val mutationCount : () = > Int
20
+ protected val mutationCount : () - > Int
21
21
22
22
override def iterator : Iterator [A ]^ {this } = new CheckedIndexedSeqView .CheckedIterator (this , mutationCount())
23
23
override def reverseIterator : Iterator [A ]^ {this } = new CheckedIndexedSeqView .CheckedReverseIterator (this , mutationCount())
@@ -42,7 +42,7 @@ private[mutable] object CheckedIndexedSeqView {
42
42
import IndexedSeqView .SomeIndexedSeqOps
43
43
44
44
@ SerialVersionUID (3L )
45
- private [mutable] class CheckedIterator [A ](self : IndexedSeqView [A ]^ , mutationCount : = > Int )
45
+ private [mutable] class CheckedIterator [A ](self : IndexedSeqView [A ]^ , mutationCount : - > Int )
46
46
extends IndexedSeqView .IndexedSeqViewIterator [A ](self) {
47
47
private [this ] val expectedCount = mutationCount
48
48
override def hasNext : Boolean = {
@@ -52,7 +52,7 @@ private[mutable] object CheckedIndexedSeqView {
52
52
}
53
53
54
54
@ SerialVersionUID (3L )
55
- private [mutable] class CheckedReverseIterator [A ](self : IndexedSeqView [A ]^ , mutationCount : = > Int )
55
+ private [mutable] class CheckedReverseIterator [A ](self : IndexedSeqView [A ]^ , mutationCount : - > Int )
56
56
extends IndexedSeqView .IndexedSeqViewReverseIterator [A ](self) {
57
57
private [this ] val expectedCount = mutationCount
58
58
override def hasNext : Boolean = {
@@ -62,43 +62,43 @@ private[mutable] object CheckedIndexedSeqView {
62
62
}
63
63
64
64
@ SerialVersionUID (3L )
65
- class Id [+ A ](underlying : SomeIndexedSeqOps [A ]^ )(protected val mutationCount : () = > Int )
65
+ class Id [+ A ](underlying : SomeIndexedSeqOps [A ]^ )(protected val mutationCount : () - > Int )
66
66
extends IndexedSeqView .Id (underlying) with CheckedIndexedSeqView [A ]
67
67
68
68
@ SerialVersionUID (3L )
69
- class Appended [+ A ](underlying : SomeIndexedSeqOps [A ]^ , elem : A )(protected val mutationCount : () = > Int )
69
+ class Appended [+ A ](underlying : SomeIndexedSeqOps [A ]^ , elem : A )(protected val mutationCount : () - > Int )
70
70
extends IndexedSeqView .Appended (underlying, elem) with CheckedIndexedSeqView [A ]
71
71
72
72
@ SerialVersionUID (3L )
73
- class Prepended [+ A ](elem : A , underlying : SomeIndexedSeqOps [A ]^ )(protected val mutationCount : () = > Int )
73
+ class Prepended [+ A ](elem : A , underlying : SomeIndexedSeqOps [A ]^ )(protected val mutationCount : () - > Int )
74
74
extends IndexedSeqView .Prepended (elem, underlying) with CheckedIndexedSeqView [A ]
75
75
76
76
@ SerialVersionUID (3L )
77
- class Concat [A ](prefix : SomeIndexedSeqOps [A ]^ , suffix : SomeIndexedSeqOps [A ]^ )(protected val mutationCount : () = > Int )
77
+ class Concat [A ](prefix : SomeIndexedSeqOps [A ]^ , suffix : SomeIndexedSeqOps [A ]^ )(protected val mutationCount : () - > Int )
78
78
extends IndexedSeqView .Concat [A ](prefix, suffix) with CheckedIndexedSeqView [A ]
79
79
80
80
@ SerialVersionUID (3L )
81
- class Take [A ](underlying : SomeIndexedSeqOps [A ]^ , n : Int )(protected val mutationCount : () = > Int )
81
+ class Take [A ](underlying : SomeIndexedSeqOps [A ]^ , n : Int )(protected val mutationCount : () - > Int )
82
82
extends IndexedSeqView .Take (underlying, n) with CheckedIndexedSeqView [A ]
83
83
84
84
@ SerialVersionUID (3L )
85
- class TakeRight [A ](underlying : SomeIndexedSeqOps [A ]^ , n : Int )(protected val mutationCount : () = > Int )
85
+ class TakeRight [A ](underlying : SomeIndexedSeqOps [A ]^ , n : Int )(protected val mutationCount : () - > Int )
86
86
extends IndexedSeqView .TakeRight (underlying, n) with CheckedIndexedSeqView [A ]
87
87
88
88
@ SerialVersionUID (3L )
89
- class Drop [A ](underlying : SomeIndexedSeqOps [A ]^ , n : Int )(protected val mutationCount : () = > Int )
89
+ class Drop [A ](underlying : SomeIndexedSeqOps [A ]^ , n : Int )(protected val mutationCount : () - > Int )
90
90
extends IndexedSeqView .Drop [A ](underlying, n) with CheckedIndexedSeqView [A ]
91
91
92
92
@ SerialVersionUID (3L )
93
- class DropRight [A ](underlying : SomeIndexedSeqOps [A ]^ , n : Int )(protected val mutationCount : () = > Int )
93
+ class DropRight [A ](underlying : SomeIndexedSeqOps [A ]^ , n : Int )(protected val mutationCount : () - > Int )
94
94
extends IndexedSeqView .DropRight [A ](underlying, n) with CheckedIndexedSeqView [A ]
95
95
96
96
@ SerialVersionUID (3L )
97
- class Map [A , B ](underlying : SomeIndexedSeqOps [A ]^ , f : A => B )(protected val mutationCount : () = > Int )
97
+ class Map [A , B ](underlying : SomeIndexedSeqOps [A ]^ , f : A => B )(protected val mutationCount : () - > Int )
98
98
extends IndexedSeqView .Map (underlying, f) with CheckedIndexedSeqView [B ]
99
99
100
100
@ SerialVersionUID (3L )
101
- class Reverse [A ](underlying : SomeIndexedSeqOps [A ]^ )(protected val mutationCount : () = > Int )
101
+ class Reverse [A ](underlying : SomeIndexedSeqOps [A ]^ )(protected val mutationCount : () - > Int )
102
102
extends IndexedSeqView .Reverse [A ](underlying) with CheckedIndexedSeqView [A ] {
103
103
override def reverse : IndexedSeqView [A ] = underlying match {
104
104
case x : IndexedSeqView [A ] => x
@@ -107,7 +107,7 @@ private[mutable] object CheckedIndexedSeqView {
107
107
}
108
108
109
109
@ SerialVersionUID (3L )
110
- class Slice [A ](underlying : SomeIndexedSeqOps [A ]^ , from : Int , until : Int )(protected val mutationCount : () = > Int )
110
+ class Slice [A ](underlying : SomeIndexedSeqOps [A ]^ , from : Int , until : Int )(protected val mutationCount : () - > Int )
111
111
extends AbstractIndexedSeqView [A ] with CheckedIndexedSeqView [A ] {
112
112
protected val lo = from max 0
113
113
protected val hi = (until max 0 ) min underlying.length
0 commit comments