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.

更多信息和选项

Wolfram Research (2007),InstanceOf,Wolfram 语言函数,https://reference.wolfram.com/language/JLink/ref/InstanceOf.html.

文本

Wolfram Research (2007),InstanceOf,Wolfram 语言函数,https://reference.wolfram.com/language/JLink/ref/InstanceOf.html.

CMS

Wolfram 语言. 2007. "InstanceOf." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/JLink/ref/InstanceOf.html.

APA

Wolfram 语言. (2007). InstanceOf. Wolfram 语言与系统参考资料中心. 追溯自 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: 22-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: 22-November-2024 ]}