Skip to content

Commit 6b0d8af

Browse files
committed
Packaged the operations
1 parent f01deed commit 6b0d8af

25 files changed

+30
-44
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ allprojects {
4747
After that, include this line in your module build.gradle.
4848
```gradle
4949
dependencies {
50-
implementation 'com.github.cvb941:kotlin-parallel-operations:1.2'
50+
implementation 'com.github.cvb941:kotlin-parallel-operations:1.3'
5151
}
5252
```
5353

transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/ParallelMap.kt renamed to transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/map/ParallelMap.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations
1+
package com.lukaskusik.coroutines.transformations.map
22

33
import kotlinx.coroutines.async
44
import kotlinx.coroutines.coroutineScope

transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/ParallelMapChunked.kt renamed to transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/map/ParallelMapChunked.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations
1+
package com.lukaskusik.coroutines.transformations.map
22

33
import kotlinx.coroutines.async
44
import kotlinx.coroutines.coroutineScope

transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/ParallelMapIndexed.kt renamed to transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/mapindexed/ParallelMapIndexed.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations
1+
package com.lukaskusik.coroutines.transformations.mapindexed
22

33
import kotlinx.coroutines.async
44
import kotlinx.coroutines.coroutineScope

transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/ParallelMapIndexedChunked.kt renamed to transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/mapindexed/ParallelMapIndexedChunked.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations
1+
package com.lukaskusik.coroutines.transformations.mapindexed
22

33
import kotlinx.coroutines.async
44
import kotlinx.coroutines.coroutineScope

transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/MapInPlace.kt renamed to transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/mapinplace/MapInPlace.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations
1+
package com.lukaskusik.coroutines.transformations.mapinplace
22

33
fun <T> Array<T>.mapInPlace(transform: (T) -> T): Array<T> {
44
for (i in this.indices) this[i] = transform(this[i])

transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/MapInPlaceIndexed.kt renamed to transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/mapinplace/MapInPlaceIndexed.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations
1+
package com.lukaskusik.coroutines.transformations.mapinplace
22

33
fun <T> Array<T>.mapInPlaceIndexed(transform: (index: Int, T) -> T): Array<T> {
44
for (i in this.indices) this[i] = transform(i, this[i])

transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/ParallelMapInPlace.kt renamed to transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/mapinplace/ParallelMapInPlace.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
package com.lukaskusik.coroutines.transformations
1+
package com.lukaskusik.coroutines.transformations.mapinplace
22

3-
import kotlinx.coroutines.async
43
import kotlinx.coroutines.coroutineScope
54
import kotlinx.coroutines.launch
65

transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/ParallelMapInPlaceChunked.kt renamed to transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/mapinplace/ParallelMapInPlaceChunked.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
package com.lukaskusik.coroutines.transformations
1+
package com.lukaskusik.coroutines.transformations.mapinplace
22

3-
import kotlinx.coroutines.async
43
import kotlinx.coroutines.coroutineScope
54
import kotlinx.coroutines.launch
65

transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/ParallelMapInPlaceIndexed.kt renamed to transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/mapinplace/ParallelMapInPlaceIndexed.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
package com.lukaskusik.coroutines.transformations
1+
package com.lukaskusik.coroutines.transformations.mapinplace
22

3-
import kotlinx.coroutines.async
43
import kotlinx.coroutines.coroutineScope
54
import kotlinx.coroutines.launch
65

0 commit comments

Comments
 (0)