All Manuals > LispWorks User Guide and Reference Manual > 41 The LW-JI Package

NextPrevUpTopContentsIndex

jobject

FLI type descriptor
Summary

The type of objects representing all non-primitive Java objects.

Package

lw-ji

Syntax

jobject

Description

The FLI type jobject is the type of objects representing all non-primitive Java objects (including arrays).

jobjects that represent the same Java object are not necessarily equal in any Lisp sense, and their addresses are not necessarily equal either. In fact, normally they will be different if they come from a different Java call. To check whether two jobjects represent the same Java object, use java-objects-eq (which takes CLOS Java instances too).

Notes

The print-function of jobject tries to print its Java class name, but what it prints may be a parent class of the actual class of the jobject. The function jobject-class-name returns the name of the actual class of the jobject, and also caches it in the jobject.

See also

jobject-p
java-objects-eq
jobject-string
jobject-class-name
jobject-of-class-p
jobject-to-lisp
jobject-pretty-class-name
Types and conversion between Lisp and Java


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex