equal
deleted
inserted
replaced
1 "{ Package: 'stx:libjava' }" |
1 "{ Package: 'stx:libjava' }" |
2 |
2 |
3 ! |
3 ! |
4 |
4 |
5 !java/lang/Short class methodsFor:'queries'! |
5 !(Java classForName:'java.lang.Short') class methodsFor:'queries'! |
6 |
6 |
7 javaWrap: object |
7 javaWrap: object |
8 |inst| |
8 |inst| |
9 inst := self basicNew. |
9 inst := self basicNew. |
10 inst perform: #'<init>(S)V' with: object. |
10 inst perform: #'<init>(S)V' with: object. |
11 ^ inst. |
11 ^ inst. |
12 ! ! |
12 ! ! |
13 !java/lang/Short class methodsFor:'queries'! |
13 !(Java classForName:'java.lang.Short') class methodsFor:'queries'! |
14 |
14 |
15 javaWrapRequired |
15 javaWrapRequired |
16 "Returns true, if a #javaWrap: has to be called |
16 "Returns true, if a #javaWrap: has to be called |
17 prior an instance of Smalltalk object is passed |
17 prior an instance of Smalltalk object is passed |
18 as an argument to Java method, whoose formal tyoe |
18 as an argument to Java method, whoose formal tyoe |