Menu

Functional Programming

Sean McEligot
String[][] strings = new String[][]{
        {"A", "B", "C", "D"},
        {"1","2", "3","4"},
        {"5","6", "7","8"},
        };
F2<Table, String[], Table> fun = new NodeOperators.StringGridToTable();
Table table = Functions.reduce(fun, table(), strings);
Render.browse("firefox", table);
System.out.println(table.writeString());
A B C D
1 2 3 4
5 6 7 8

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.