How can I initialize a multidimensional List statically?
This works:
List> list = new ArrayList>(); <
You can do it this way:
import static java.util.Arrays.*;
...
List> list = asList( asList( 1, 2, 3 ), asList( 4, 5, 6 ), asList( 6, 7, 8 ) );