Removing entries from a Java Hashtable does not work


#1

Hello G.s,

I have a sentence in ruby like this one:

java_hashtable.remove code

But the code is not removed from the hashtable. Is it a jaby bug or am
I doing something wrong?

Thanks,

GA


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#2

works perfectly for me:

include Java

h = java.util.Hashtable.new
h[1] = 2
h[3] = 4
p h.remove 1

p h.size
p h[1]
p h[2]

Marcin.

Guillermo A. pisze:

GA


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email