Changeset 13908 for trunk/abcl/src/org/armedbear/lisp/java.lisp
- Timestamp:
- 04/06/12 11:59:48 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/java.lisp
r13710 r13908 195 195 196 196 (defun jarray-length (java-array) 197 "Returns the length of a Java primitive array." 197 198 (jstatic "getLength" "java.lang.reflect.Array" java-array) ) 198 199 … … 202 203 (defun jnew-array-from-array (element-type array) 203 204 "Returns a new Java array with base type ELEMENT-TYPE (a string or a class-ref) 204 initialized from ARRAY "205 initialized from ARRAY." 205 206 (flet 206 207 ((row-major-to-index (dimensions n) … … 221 222 222 223 (defun jnew-array-from-list (element-type list) 224 "Returns a new Java array with base type ELEMENT-TYPE (a string or a class-ref) 225 initialized from a Lisp list." 223 226 (let ((jarray (jnew-array element-type (length list))) 224 227 (i 0)) … … 368 371 (error "Unknown load-form for ~A" class-name))))) 369 372 370 (defun jproperty-value (obj prop) 371 (%jget-property-value obj prop)) 373 (defun jproperty-value (object property) 374 "setf-able access on the Java Beans notion of property named PROPETRY on OBJECT." 375 (%jget-property-value object property)) 372 376 373 377 (defun (setf jproperty-value) (value obj prop) … … 452 456 453 457 (defun ensure-java-class (jclass) 458 "Attempt to ensure that the Java class referenced by JCLASS exists in the current process of the implementation." 454 459 (let ((class (%find-java-class jclass))) 455 460 (if class
Note: See TracChangeset
for help on using the changeset viewer.