Skip to content

Commit ecf7fcc

Browse files
committed
Following structure and naming conventions
1 parent 7f83f63 commit ecf7fcc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/main/scala/scala/collection/IteratorExtensions.scala renamed to src/main/scala/scala/collection/next/IteratorExtensions.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
*/
1212

1313
package scala.collection
14+
package next
1415

1516
object IteratorExtensions {
16-
implicit class IteratorExtensionsOps[A](private val iter: Iterator[A]) extends AnyVal {
17+
implicit class NextIteratorExtensions[A](private val iter: Iterator[A]) extends AnyVal {
1718
/**
1819
* Partitions this Iterator into a map according to a discriminator function `key`. All the values that
1920
* have the same discriminator are then transformed by the `value` function and then reduced into a

src/test/scala/scala/collection/TestIteratorExtensions.scala renamed to src/test/scala/scala/collection/next/TestIteratorExtensions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* additional information regarding copyright ownership.
1111
*/
1212

13-
package scala.collection
13+
package scala.collection.next
1414

1515
import org.junit.Assert._
1616
import org.junit.Test

0 commit comments

Comments
 (0)