| <<O>> Difference Topic UsingJavaFromNice (r1.3 - 07 Mar 2003 - AlexGreif) |
| Deleted: | |||
| < < |
nice -> static java method | ||
| Deleted: | |||
| < < |
| ||
| Deleted: | |||
| < < |
nice -> static java function | ||
| Deleted: | |||
| < < |
| ||
| Added: | |||
| > > | |||
| Deleted: | |||
| < < |
| ||
| Changed: | |||
| < < |
List | ||
| > > | List<String> getList() = native List Foo.getList(); | ||
| Deleted: | |||
| < < | |||
| Deleted: | |||
| < < |
I'm not sure why you distinguished methods (returning void?) and functions.
I think the point here is that if the Java code uses parameterized types (like List, Collection, Map, ...), then you need a native declaration in Nice to specify their precise type.
| ||
| Changed: | |||
| < < |
Note: your List tag? Could be define that in TWiki?
| ||
| > > |
List, Collection, Map, ...), then you need a native declaration in Nice to specify their precise type.
I added verbatim in addition to pre to solve this problem. Isn't there a simpler way, like a <code> tag? Could be define that in TWiki?
| ||
| Added: | |||
| > > | I think wiki cannot handle this -- AlexGreif | ||
| <<O>> Difference Topic UsingJavaFromNice (r1.2 - 07 Mar 2003 - DanielBonniot) |
| Added: | |
| > > |
|
| Added: | |
| > > | |
| Added: | |
| > > | -- AlexGreif - 07 Mar 2003 |
| Added: | |
| > > |
I'm not sure why you distinguished methods (returning void?) and functions.
I think the point here is that if the Java code uses parameterized types (like List, Collection, Map, ...), then you need a native declaration in Nice to specify their precise type.
|
| Changed: | |
| < < | -- AlexGreif - 07 Mar 2003 |
| > > |
Note: your List tag? Could be define that in TWiki?
-- DanielBonniot |
| <<O>> Difference Topic UsingJavaFromNice (r1.1 - 07 Mar 2003 - AlexGreif) |
| Added: | |||||||||||
| > > |
%META:TOPICINFO{author="AlexGreif" date="1047032340" format="1.0" version="1.1"}%
%META:TOPICPARENT{name="NiceTutorial"}%
This topic gives some tips and hints how to use Java from Nice
nice -> static java method
nice -> static java function
| ||||||||||
| Topic UsingJavaFromNice . { View | Diffs | r1.3 | > | r1.2 | > | r1.1 | More } |
|
Revision r1.1 - 07 Mar 2003 - 10:19 GMT - AlexGreif Revision r1.3 - 07 Mar 2003 - 14:45 GMT - AlexGreif |
Copyright © 1999-2003 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback. |