mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 01:50:56 +07:00
11 lines
256 B
Java
11 lines
256 B
Java
// "Apply conversion '.toArray(new int[0][])'" "true-preview"
|
|
|
|
import java.util.*;
|
|
class Array {
|
|
static int[][] foo() {
|
|
Set<int[]> set = new HashSet<>();
|
|
set.add(new int[]{1, 2});
|
|
int[][] arr = set.toArray(new int[0][]);
|
|
return arr;
|
|
}
|
|
} |