JLink`
JLink`
AllowRaggedArrays
lets you pass ragged (i.e. nonrectangular) arrays to Java.
restores the default behavior.
Details
- To use AllowRaggedArrays, you first need to load J/Link using Needs["JLink`"].
- With AllowRaggedArrays[True], a method that takes int[][] could be passed {{1,2},{3}}.
- AllowRaggedArrays[True] can drastically reduce the speed with which large arrays are passed back and forth between the Wolfram Language and Java.