[Top][All Lists]

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

[Octave-bug-tracker] [bug #62930] error comparing octave_java objects

From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #62930] error comparing octave_java objects
Date: Tue, 23 Aug 2022 08:58:24 -0400 (EDT)

Update of bug #62930 (project octave):

                Category:             Interpreter => Octave Function        
                  Status:                    None => Confirmed              
                 Release:                   7.1.0 => 7.2.0                  


Follow-up Comment #1:

For the case at hand a workaround is to use the `equals` methods of java
integer objects:

i1  = javaObject ("java.lang.Integer",1.0); 
i2  = javaObject ("java.lang.Integer",2.0); 
i1.equals (i2)

Maybe this could be used as a generic method to compare octave_java objects in


Reply to this item at:


Message posté via Savannah

reply via email to

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