JLink`
JLink`

InstanceOf

InstanceOf[javaobject,javaclass]

gives True if javaobject is an instance of the class or interface javaclass, or a subclass. Otherwise, it returns False.

InstanceOf[javaobject,"classname"]

gives True if javaobject is an instance of the named class or interface, or a subclass.

Details and Options

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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