[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48849] which: return Java class methods
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #48849] which: return Java class methods |
Date: |
Tue, 23 Aug 2016 14:31:19 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0 |
Update of bug #48849 (project octave):
Category: None => Octave Function
Severity: 3 - Normal => 1 - Wish
Priority: 5 - Normal => 3 - Low
Item Group: None => Matlab Compatibility
Status: None => Need Info
Summary: java integration which on java methods => which:
return Java class methods
_______________________________________________________
Follow-up Comment #1:
According to https://www.mathworks.com/help/matlab/ref/which.html, only
methods that are in classes that are "loaded" are returned.
This also implies the following syntax that Matlab supports, but Octave does
not:
x = javaObject ("java.lang.String");
toString (x)
where the method is called as a function with the object as argument. I'm not
saying this can't be done without that support, but that's what "which" seems
to be paired with, the list of functions that you can call as a bare function.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48849>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/