[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: |
Tue, 10 Dec 2013 09:23:21 +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 |
Follow-up Comment #2, bug #40852 (project octave):
Thanks for your quick answer.
You're right for the getStringStringMap.
But the problem remains for the getIntegerStringMap.
I tried :
map1.get(1)
map1.get(int32(1))
map1.get(java_new("java.lang.Integer",1))
u = int32(1);
map1.get(u);
map1.get(java_new("java.lang.Integer",u))
map1.get(java_new("java.lang.Integer",int32(1)))
None of these returns the right answer.
Note that the two last return "error: [java] java.lang.NoSuchMethodException:
java.lang.Integer"
You're talking about the octave/java integration in core octave. How does it
work? I didn't find any documentation online.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40852>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/