octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48592] function char on java objects


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #48592] function char on java objects
Date: Fri, 22 Jul 2016 16:11:13 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

Update of bug #48592 (project octave):

                Category:                    None => Interpreter            
              Item Group:                    None => Matlab Compatibility   
                  Status:                    None => Need Info              
                 Release:                   4.0.2 => dev                    

    _______________________________________________________

Follow-up Comment #1:

Do you have access to Matlab to test?

The way I read the reference page is (pardon my Java pseudocode):


if (x instanceof java.lang.String)
  return x.toString();
else if (x hasmethod toChar)
  return x.toChar();
else
  throw error



Do you agree?

Some examples of java classes to demonstrate this would be helpful, if you can
suggest some classes from the standard library that show: a subclass of
java.lang.String, a class that is not a subclass of java.lang.String but has a
toString, and a class that has a toChar but not a toString.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48592>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]