Skip to content

Commit c8d5292

Browse files
committed
NativeFile return List
1 parent d3aa77a commit c8d5292

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

java/vortex-jni/src/main/java/dev/vortex/impl/NativeDType.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import dev.vortex.api.DType;
2525
import dev.vortex.jni.FFI;
2626
import java.nio.charset.StandardCharsets;
27+
import java.util.List;
2728
import java.util.Optional;
2829

2930
public final class NativeDType extends BaseWrapped<FFI.FFIDType> implements DType {
@@ -78,7 +79,7 @@ public String toString() {
7879
}
7980

8081
@Override
81-
public ImmutableList<String> getFieldNames() {
82+
public List<String> getFieldNames() {
8283
checkNotNull(inner);
8384
checkArgument(Variant.STRUCT == variant, "getStructFieldNames() for non-struct DType");
8485

@@ -100,7 +101,7 @@ public ImmutableList<String> getFieldNames() {
100101
}
101102

102103
@Override
103-
public ImmutableList<DType> getFieldTypes() {
104+
public List<DType> getFieldTypes() {
104105
checkNotNull(inner);
105106
checkArgument(Variant.STRUCT == variant, "getStructFieldNames() for non-struct DType");
106107
ImmutableList.Builder<DType> builder = ImmutableList.builder();

0 commit comments

Comments
 (0)