[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60123] method methods and ismethod silently c
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #60123] method methods and ismethod silently changed: includes constructors now |
Date: |
Fri, 26 Feb 2021 10:17:07 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74 |
Follow-up Comment #6, bug #60123 (project octave):
I compiled Octave 5.2.0 and tried `methods('java.lang.Double','-full')`. That
wasn't supported in that version. So I used the following:
>> methods('java.lang.Double')
Methods for class java.lang.Double:
boolean equals(java.lang.Object)
java.lang.String toString(double)
java.lang.String toString()
int hashCode()
int hashCode(double)
double min(double, double)
double max(double, double)
long doubleToRawLongBits(double)
long doubleToLongBits(double)
double longBitsToDouble(long)
int compareTo(java.lang.Object)
int compareTo(java.lang.Double)
byte byteValue()
short shortValue()
int intValue()
long longValue()
float floatValue()
double doubleValue()
java.lang.Double valueOf(java.lang.String) throws
java.lang.NumberFormatException
java.lang.Double valueOf(double)
java.lang.String toHexString(double)
int compare(double, double)
boolean isNaN(double)
boolean isNaN()
boolean isInfinite(double)
boolean isInfinite()
boolean isFinite(double)
double sum(double, double)
double parseDouble(java.lang.String) throws java.lang.NumberFormatException
void wait(long) throws java.lang.InterruptedException
void wait(long, int) throws java.lang.InterruptedException
void wait() throws java.lang.InterruptedException
java.lang.Class getClass()
void notify()
void notifyAll()
In Octave 7.0.0 (hg id ca1cc1bca9cb):
>> methods('java.lang.Double', '-full')
Methods for class java.lang.Double:
Double(double)
Double(java.lang.String) throws java.lang.NumberFormatException
boolean equals(java.lang.Object)
java.lang.String toString(double)
java.lang.String toString()
int hashCode()
int hashCode(double)
double min(double, double)
double max(double, double)
long doubleToRawLongBits(double)
long doubleToLongBits(double)
double longBitsToDouble(long)
int compareTo(java.lang.Object)
int compareTo(java.lang.Double)
byte byteValue()
short shortValue()
int intValue()
long longValue()
float floatValue()
double doubleValue()
java.lang.Double valueOf(java.lang.String) throws
java.lang.NumberFormatException
java.lang.Double valueOf(double)
java.lang.String toHexString(double)
int compare(double, double)
boolean isNaN(double)
boolean isNaN()
boolean isInfinite(double)
boolean isInfinite()
boolean isFinite(double)
double sum(double, double)
double parseDouble(java.lang.String) throws java.lang.NumberFormatException
void wait(long) throws java.lang.InterruptedException
void wait(long, int) throws java.lang.InterruptedException
void wait() throws java.lang.InterruptedException
java.lang.Class getClass()
void notify()
void notifyAll()
That looks very similar to me (apart from the constructors now being included
-- like you already wrote). Should that be including modifiers (static, ...)?
Maybe that depends on the used Java version?
>> version -java
ans = Java 11.0.10+9-Ubuntu-0ubuntu1.20.10 with Ubuntu OpenJDK 64-Bit Server
VM mixed mode, sharing
Please, propose better wording for the documentation if you think it is
currently incomplete.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60123>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60123] method methods and ismethod silently changed: includes constructors now, Ernst Reissner, 2021/02/26
- [Octave-bug-tracker] [bug #60123] method methods and ismethod silently changed: includes constructors now, Ernst Reissner, 2021/02/26
- [Octave-bug-tracker] [bug #60123] method methods and ismethod silently changed: includes constructors now, Ernst Reissner, 2021/02/26
- [Octave-bug-tracker] [bug #60123] method methods and ismethod silently changed: includes constructors now, Ernst Reissner, 2021/02/26
- [Octave-bug-tracker] [bug #60123] method methods and ismethod silently changed: includes constructors now, Philip Nienhuis, 2021/02/26
- [Octave-bug-tracker] [bug #60123] method methods and ismethod silently changed: includes constructors now, Ernst Reissner, 2021/02/26
- [Octave-bug-tracker] [bug #60123] method methods and ismethod silently changed: includes constructors now,
Markus Mützel <=
- [Octave-bug-tracker] [bug #60123] method methods and ismethod silently changed: includes constructors now, Rik, 2021/02/26
- [Octave-bug-tracker] [bug #60123] method methods and ismethod silently changed: includes constructors now, Philip Nienhuis, 2021/02/27
- [Octave-bug-tracker] [bug #60123] method methods and ismethod silently changed: includes constructors now, Ernst Reissner, 2021/02/28
- [Octave-bug-tracker] [bug #60123] method methods and ismethod silently changed: includes constructors now, Philip Nienhuis, 2021/02/28
- [Octave-bug-tracker] [bug #60123] method methods and ismethod silently changed: includes constructors now, Ernst Reissner, 2021/02/28
- [Octave-bug-tracker] [bug #60123] method methods and ismethod silently changed: includes constructors now, Ernst Reissner, 2021/02/28