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

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

[Octave-bug-tracker] [bug #40852] problem with getting values of HashMap


From: jean
Subject: [Octave-bug-tracker] [bug #40852] problem with getting values of HashMap when key is Integer or String (java package)
Date: Mon, 09 Dec 2013 17:01:24 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/30.0.1599.114 Chrome/30.0.1599.114 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?40852>

                 Summary: problem with getting values of HashMap when key is
Integer or String (java package)
                 Project: GNU Octave
            Submitted by: lefredj
            Submitted on: lun. 09 déc. 2013 17:01:23 GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: lefredj
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: Any

    _______________________________________________________

Details:

If a java method returns a HashMap map where keys are Integer or String, the
method map.get(key) returns void.

There seems to be no way to get the key with the right java.util.Integer or
java.util.String type since octave does the conversion to int and string.

I join some simple java class and octave script that show the bug.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: lun. 09 déc. 2013 17:01:23 GMT  Name: bugMapOctave.jar  Size: 9 ko  
By: lefredj

<http://savannah.gnu.org/bugs/download.php?file_id=29819>
-------------------------------------------------------
Date: lun. 09 déc. 2013 17:01:23 GMT  Name: bugMapOctave.m  Size: 440 o   By:
lefredj

<http://savannah.gnu.org/bugs/download.php?file_id=29820>
-------------------------------------------------------
Date: lun. 09 déc. 2013 17:01:23 GMT  Name: BugMapOctave.java  Size: 976 o  
By: lefredj

<http://savannah.gnu.org/bugs/download.php?file_id=29821>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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