A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw71/LW/html/lw-859.htm below:

create-instance-from-jobject

Description

The function create-instance-from-jobject creates a CLOS instance based on the jobject jobject.

jobject must be a jobject. Its class name (that is, the result of jobject-class-name) must have been associated with the name of a CLOS subclass of standard-java-object using record-java-class-lisp-symbol (the importing interface, when defining a class, does it automatically).

create-instance-from-jobject uses the record to find the class, and makes the CLOS instance by calling make-instance, passing it jobject.

The result is an instance of the CLOS class, which can be passed to Java interface functions and Java methods.

If create-instance-from-jobject fails to find the CLOS class it signals an error if errorp is non-nil, otherwise it returns nil. The default value of errorp is true.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4