[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62406] javaObject() java.lang.String Has Diff
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #62406] javaObject() java.lang.String Has Different Output with MATLAB |
Date: |
Tue, 3 May 2022 11:35:48 -0400 (EDT) |
Follow-up Comment #1, bug #62406 (project octave):
that looks like the default general display method for objects in octave.
looking at the methods for that object:
>> methods(s)
Methods for class java.lang.String:
String copyValueOf join startsWith
charAt endsWith lastIndexOf subSequence
chars equals length substring
codePointAt equalsIgnoreCase matches toCharArray
codePointBefore format notify toLowerCase
codePointCount getBytes notifyAll toString
codePoints getChars offsetByCodePoints toUpperCase
compareTo getClass regionMatches trim
compareToIgnoreCase hashCode replace valueOf
concat indexOf replaceAll wait
contains intern replaceFirst
contentEquals isEmpty split
appears the object or its parent (assuming it's inheriting things) doesn't
have the disp or display method defined (at least publicly). that could be
done to change the way it echoes the contents. String or array display is
fairly straightforward, but depending on how variable the javaObject content
can get, it could get a bit involved.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62406>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62406] javaObject() java.lang.String Has Different Output with MATLAB, Glite, 2022/05/03
- [Octave-bug-tracker] [bug #62406] javaObject() java.lang.String Has Different Output with MATLAB,
Nicholas Jankowski <=
- [Octave-bug-tracker] [bug #62406] javaObject() java.lang.String Has Different Output with MATLAB, Glite, 2022/05/03
- [Octave-bug-tracker] [bug #62406] javaObject() java.lang.String Has Different Output with MATLAB, Nicholas Jankowski, 2022/05/03
- [Octave-bug-tracker] [bug #62406] javaObject() java.lang.String Has Different Output with MATLAB, Glite, 2022/05/03
- [Octave-bug-tracker] [bug #62406] javaObject() java.lang.String Has Different Output with MATLAB, Glite, 2022/05/03
- [Octave-bug-tracker] [bug #62406] javaObject() java.lang.String Has Different Output with MATLAB, Philip Nienhuis, 2022/05/04
- [Octave-bug-tracker] [bug #62406] Common java classes (String, Number) do not have overloaded display routines as in Matlab, Rik, 2022/05/04
- [Octave-bug-tracker] [bug #62406] Common java classes (String, Number) do not have overloaded display routines as in Matlab, Rik, 2022/05/04
- [Octave-bug-tracker] [bug #62406] Common java classes (String, Number) do not have overloaded display routines as in Matlab, Glite, 2022/05/04
- [Octave-bug-tracker] [bug #62406] Common java classes (String, Number) do not have overloaded display routines as in Matlab, Glite, 2022/05/04