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
15
15
import org.jetbrains.kotlinx.dataframe.impl.columns.UINT
16
16
import org.jetbrains.kotlinx.dataframe.impl.columns.ULONG
17
17
import org.jetbrains.kotlinx.dataframe.impl.columns.USHORT
18
- import org.jetbrains.kotlinx.dataframe.impl.columns.ofCollection
19
18
import org.jetbrains.kotlinx.dataframe.impl.columns.ofBoxedArray
19
+ import org.jetbrains.kotlinx.dataframe.impl.columns.ofCollection
20
20
import org.jetbrains.kotlinx.dataframe.impl.columns.ofPrimitiveArray
21
21
import kotlin.reflect.KType
22
22
import kotlin.reflect.typeOf
23
23
24
24
/* *
25
- * Represents the contents of a column, however it may be implemented.
25
+ * Represents the contents of a column; however, it may be implemented.
26
26
* The default implementation is found at [ColumnDataHolderImpl].
27
27
*/
28
- public interface ColumnDataHolder <T > : Iterable <T > {
29
-
30
- public val size: Int
28
+ public interface ColumnDataHolder <T > : List <T > {
31
29
32
30
public fun toSet (): Set <T >
33
31
34
- public fun toList (): List <T >
35
-
36
- public fun contains (value : T ): Boolean
37
-
38
- public operator fun get (index : Int ): T
39
-
40
32
public operator fun get (range : IntRange ): List <T >
41
33
42
34
public val distinct: Lazy <Set <T >>
You can’t perform that action at this time.
0 commit comments