File tree Expand file tree Collapse file tree 3 files changed +349
-56
lines changed
main/kotlin/org/jetbrains/kotlinx/dataframe
test/kotlin/org/jetbrains/kotlinx/dataframe/columns Expand file tree Collapse file tree 3 files changed +349
-56
lines changed Original file line number Diff line number Diff line change @@ -15,28 +15,20 @@ import org.jetbrains.kotlinx.dataframe.impl.columns.UBYTE
1515import org.jetbrains.kotlinx.dataframe.impl.columns.UINT
1616import org.jetbrains.kotlinx.dataframe.impl.columns.ULONG
1717import org.jetbrains.kotlinx.dataframe.impl.columns.USHORT
18- import org.jetbrains.kotlinx.dataframe.impl.columns.ofCollection
1918import org.jetbrains.kotlinx.dataframe.impl.columns.ofBoxedArray
19+ import org.jetbrains.kotlinx.dataframe.impl.columns.ofCollection
2020import org.jetbrains.kotlinx.dataframe.impl.columns.ofPrimitiveArray
2121import kotlin.reflect.KType
2222import kotlin.reflect.typeOf
2323
2424/* *
25- * Represents the contents of a column, however it may be implemented.
25+ * 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 > : Iterable <T > {
29-
30- public val size: Int
28+ public interface ColumnDataHolder <T > : List <T > {
3129
3230 public fun toSet (): Set <T >
3331
34- public fun toList (): List <T >
35-
36- public fun contains (value : T ): Boolean
37-
38- public operator fun get (index : Int ): T
39-
4032 public operator fun get (range : IntRange ): List <T >
4133
4234 public val distinct: Lazy <Set <T >>
You can’t perform that action at this time.
0 commit comments