lets you pass ragged (i.e. nonrectangular) arrays to Java.
restores the default behavior.


AllowRaggedArrays
lets you pass ragged (i.e. nonrectangular) arrays to Java.
restores the default behavior.
Details and Options
- 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.
See Also
Tech Notes
Related Guides
Text
Wolfram Research (2007), AllowRaggedArrays, Wolfram Language function, https://reference.wolfram.com/language/JLink/ref/AllowRaggedArrays.html.
CMS
Wolfram Language. 2007. "AllowRaggedArrays." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/JLink/ref/AllowRaggedArrays.html.
APA
Wolfram Language. (2007). AllowRaggedArrays. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/JLink/ref/AllowRaggedArrays.html
BibTeX
@misc{reference.wolfram_2025_allowraggedarrays, author="Wolfram Research", title="{AllowRaggedArrays}", year="2007", howpublished="\url{https://reference.wolfram.com/language/JLink/ref/AllowRaggedArrays.html}", note=[Accessed: 15-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_allowraggedarrays, organization={Wolfram Research}, title={AllowRaggedArrays}, year={2007}, url={https://reference.wolfram.com/language/JLink/ref/AllowRaggedArrays.html}, note=[Accessed: 15-August-2025]}