Are java hashtable objects Ruby Hash objects?

Hello guys,

I need to access from Ruby information stored in a java hashtable
inside of a Java class.

The class has a getter method that returns the hashtable object. My
question is: How can access the key/value pairs from the Ruby code?

Thanks in advance,

GA


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

The class has a getter method that returns the hashtable object. My question
is: How can access the key/value pairs from the Ruby code?

I believe you just treat it like any other java object and call the
method you want. yourTable.get(key)


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs