Skip to main content



      Home
Home » Modeling » Epsilon » [EOL] How to call constructor when using Native
[EOL] How to call constructor when using Native [message #588643] Mon, 26 April 2010 10:41 Go to next message
Eclipse UserFriend
Hi everyone,

Is it possible to call java classes with constructor in Native?

For example, java.lang.Short can only be instantiated with a parameter like Short(1), Short("1"), but how to realize this in EOL Native?

Thanks a lot.

Yu
Re: [EOL] How to call constructor when using Native [message #588661 is a reply to message #588643] Mon, 26 April 2010 10:52 Go to previous message
Eclipse UserFriend
I guess you may need to use a factory.

Steffen

On 26/04/2010 15:41, Yu Sun wrote:
> Hi everyone,
>
> Is it possible to call java classes with constructor in Native?
>
> For example, java.lang.Short can only be instantiated with a parameter
> like Short(1), Short("1"), but how to realize this in EOL Native?
>
> Thanks a lot.
>
> Yu
Previous Topic:Problem loading referenced types
Next Topic:[EOL] How to call constructor when using Native
Goto Forum:
  


Current Time: Wed Jul 23 12:20:47 EDT 2025

Powered by FUDForum. Page generated in 0.44820 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top