Displaying 2 results from an estimated 2 matches for "_classname".
Did you mean:
classname
2009 May 25
2
Looping through java hashmap from ruby through rjb
...ut.println(itr.next());
So, I took a stab at the ruby version:
# I have a java hashmap called fields that was created using iText
thusly
reader = pdfreader.new( "pdf_file.pdf" )
@form = reader.getAcroFields()
fields = @form.getFields() # this is a hashmap of all fields on form
fields._classname # entere in irc displays: java.util.HashMap
# So, following the java code above
c = fields.values()
itr = c.iterator()
while itr.hasNext()
p itr.next()
end
Instead of getting the field names, I get
#<#<Class:0x2d47d74>:0x2c15208>
#<#<Class:0x2d47d74>:0x2c151a4>
#<#&l...
2007 Mar 15
4
R 2.5.0 devel try issue in conjuntion with S4 method dispatch
Hi,
after updating R 2.5.0 devel yesterday we today observed many new
unexpected failures in our daily package build and test system runs,
which can be traced to recent changes in the implementation in try()
(as noted in NEWS).
Investigating this new implementation I come across an issue in
conjuntion with using S4 classes and methods. try(expr) does not return an
object with attribute