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-924.htm below:

make-java-instance

Description

The function make-java-instance creates a CLOS instance and its jobject.

The class symbol-or-class must be a subclass of standard-java-object, and must have been associated with a Java constructor by passing the class name to define-java-constructor or setup-java-constructor as the class-symbol argument (the importing interface, when defining a class, does it automatically).

make-java-instance makes the CLOS instance by calling make-instance on symbol-or-class, then passing the instance and args to create-instance-jobject-list to create the jobject, and then returns the instance.

The result is a CLOS instance of symbol-or-class, which can be passed to Java interface functions and Java methods.


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