1
agzou 2021 年 4 月 2 日
public class DemoApp {
public static void main(String[] args) { List<String> data= new ArrayList<>(); byte[][] bytes = data.stream().map(String::getBytes).toArray(byte[][]::new); test("",null,bytes); } private static void test(String var1 ,byte[] var2, byte[]... var3) { } } |
2
cheng6563 2021 年 4 月 2 日
byte[]... 等同于 byte[][]
|