It Works!

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

It Works!

Walter Grossman
Thanks!

So, more questions:  what is the __java_get__ function?  What is it normally used for?  Are there any other such function that would be good to know?


Reply | Threaded
Open this post in threaded view
|

Re: Need help with Octave/Java (was: It Works!)

Mike Miller-4
On Tue, Jul 17, 2018 at 15:00:31 -0400, Walter Grossman wrote:
> So, more questions:  what is the __java_get__ function?  What is it
> normally used for?  Are there any other such function that would be good to
> know?

The double underscores are meant to indicate that it is an internal
Octave function. These functions are typically only used by Octave
itself and are not meant to be called in user code. They are subject to
change or removal at any time.

However, there is no other way to get static properties from a Java
interface using the public functions javaMethod, javaObject, etc.

So if your use case requires this, then go ahead and use __java_get__.
But it may be removed in a future version of Octave once namespace
resolution of Java objects is implemented.

--
mike



signature.asc (849 bytes) Download Attachment