java/extensions/java/lang/Short.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 23 Jan 2013 00:16:02 +0000
branchdevelopment
changeset 1987 596f7d5cb7cd
parent 1854 a5cdc98d7e19
child 1997 8bcca8a0e8a1
permissions -rw-r--r--
Cleanup: removed UserPreferences>>javaTestDirectory: (no longer used).

"{ Package: 'stx:libjava' }"

!

!java/lang/Short class methodsFor:'queries'!

javaWrap: object
	|inst|
    inst := self basicNew.
    inst perform: #'<init>(S)V' with: object.
	^ inst.
! !
!java/lang/Short class methodsFor:'queries'!

javaWrapRequired
    "Returns true, if a #javaWrap: has to be called
     prior an instance of Smalltalk object is passed 
     as an argument to Java method, whoose formal tyoe
     is the receiver."

    ^true
! !