JLink`
JLink`

KeepJavaObject

KeepJavaObject[object]

causes the specified object or objects not to be released when the current JavaBlock ends.

KeepJavaObject[object,Manual]

causes the specified object to escape from all enclosing JavaBlock blocks, meaning that the object will only be released if you manually call ReleaseJavaObject.

Details and Options

Wolfram Research (2007), KeepJavaObject, Wolfram Language function, https://reference.wolfram.com/language/JLink/ref/KeepJavaObject.html.

Text

Wolfram Research (2007), KeepJavaObject, Wolfram Language function, https://reference.wolfram.com/language/JLink/ref/KeepJavaObject.html.

CMS

Wolfram Language. 2007. "KeepJavaObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/JLink/ref/KeepJavaObject.html.

APA

Wolfram Language. (2007). KeepJavaObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/JLink/ref/KeepJavaObject.html

BibTeX

@misc{reference.wolfram_2024_keepjavaobject, author="Wolfram Research", title="{KeepJavaObject}", year="2007", howpublished="\url{https://reference.wolfram.com/language/JLink/ref/KeepJavaObject.html}", note=[Accessed: 25-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_keepjavaobject, organization={Wolfram Research}, title={KeepJavaObject}, year={2007}, url={https://reference.wolfram.com/language/JLink/ref/KeepJavaObject.html}, note=[Accessed: 25-November-2024 ]}