Skip to content

Commit 6cb80da

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

File tree

4 files changed

+672
-239
lines changed

4 files changed

+672
-239
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import kotlin.reflect.typeOf
2525
* Represents the contents of a column; however, it may be implemented.
2626
* The default implementation is found at [ColumnDataHolderImpl].
2727
*/
28-
public interface ColumnDataHolder<T> : List<T> {
28+
public interface ColumnDataHolder<T> : /*Mutable*/ List<T> {
2929

3030
public fun toSet(): Set<T>
3131

0 commit comments

Comments
 (0)