Allow keys without array

This commit is contained in:
Andrea Cavalli 2024-10-17 23:10:34 +02:00
parent bbc380236f
commit 02eea5ac66

View File

@ -5,7 +5,7 @@ import java.util.Arrays;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
public record Keys(@NotNull MemorySegment @NotNull [] keys) { public record Keys(@NotNull MemorySegment @NotNull ... keys) {
@Override @Override
public String toString() { public String toString() {