Skip to content

Commit 3692ba2

Browse files
committed
WIP making ColumnDataHolder mutable, so it can work as DataCollector. Using fastutils classes for this.
1 parent e53fb2a commit 3692ba2

File tree

4 files changed

+575
-234
lines changed

4 files changed

+575
-234
lines changed

core/build.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ dependencies {
8484
testImplementation(libs.jsoup)
8585

8686
testImplementation("org.openjdk.jol:jol-core:0.10")
87+
implementation("it.unimi.dsi:fastutil:8.5.14")
8788
}
8889

8990
val samplesImplementation by configurations.getting {

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/ColumnDataHolder.kt

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ public interface ColumnDataHolder<T> : List<T> {
3131

3232
public operator fun get(range: IntRange): List<T>
3333

34+
public fun add(element: T): Boolean
35+
3436
public val distinct: Lazy<Set<T>>
3537

3638
public companion object

0 commit comments

Comments
 (0)