File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api
src/main/kotlin/org/jetbrains/kotlinx/dataframe/api Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,16 @@ import org.jetbrains.kotlinx.dataframe.Predicate
6
6
import org.jetbrains.kotlinx.dataframe.columns.ColumnReference
7
7
import java.math.BigDecimal
8
8
9
+ public operator fun DataColumn<Boolean>.not (): DataColumn <Boolean > = map { ! it }
10
+
11
+ @JvmName(" notBooleanNullable" )
12
+ public operator fun DataColumn<Boolean?>.not (): DataColumn <Boolean ?> = map { it?.not () }
13
+
14
+ public operator fun ColumnReference<Boolean>.not (): ColumnReference <Boolean > = map { ! it }
15
+
16
+ @JvmName(" notBooleanNullable" )
17
+ public operator fun ColumnReference<Boolean?>.not (): ColumnReference <Boolean ?> = map { it?.not () }
18
+
9
19
public operator fun DataColumn<Int>.plus (value : Int ): DataColumn <Int > = map { it + value }
10
20
11
21
public operator fun DataColumn<Int>.minus (value : Int ): DataColumn <Int > = map { it - value }
Original file line number Diff line number Diff line change @@ -6,6 +6,16 @@ import org.jetbrains.kotlinx.dataframe.Predicate
6
6
import org.jetbrains.kotlinx.dataframe.columns.ColumnReference
7
7
import java.math.BigDecimal
8
8
9
+ public operator fun DataColumn<Boolean>.not (): DataColumn <Boolean > = map { ! it }
10
+
11
+ @JvmName(" notBooleanNullable" )
12
+ public operator fun DataColumn<Boolean?>.not (): DataColumn <Boolean ?> = map { it?.not () }
13
+
14
+ public operator fun ColumnReference<Boolean>.not (): ColumnReference <Boolean > = map { ! it }
15
+
16
+ @JvmName(" notBooleanNullable" )
17
+ public operator fun ColumnReference<Boolean?>.not (): ColumnReference <Boolean ?> = map { it?.not () }
18
+
9
19
public operator fun DataColumn<Int>.plus (value : Int ): DataColumn <Int > = map { it + value }
10
20
11
21
public operator fun DataColumn<Int>.minus (value : Int ): DataColumn <Int > = map { it - value }
You can’t perform that action at this time.
0 commit comments