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
66import org.jetbrains.kotlinx.dataframe.columns.ColumnReference
77import java.math.BigDecimal
88
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+
919public operator fun DataColumn<Int>.plus (value : Int ): DataColumn <Int > = map { it + value }
1020
1121public 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
66import org.jetbrains.kotlinx.dataframe.columns.ColumnReference
77import java.math.BigDecimal
88
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+
919public operator fun DataColumn<Int>.plus (value : Int ): DataColumn <Int > = map { it + value }
1020
1121public operator fun DataColumn<Int>.minus (value : Int ): DataColumn <Int > = map { it - value }
You can’t perform that action at this time.
0 commit comments