Re: Using Java's 'this' keyword

2010-05-23 Thread Timothy Washington
Right you are. Cheers Tim On Sun, May 23, 2010 at 4:51 PM, Jay Fields wrote: > I believe the error message is because there is no apply() method that > takes no arguments, and (.. node getLoad apply this ) is trying to do this > (in java): node.getLoad().apply().this() > > I think you want (..

Re: Using Java's 'this' keyword

2010-05-23 Thread Jay Fields
I believe the error message is because there is no apply() method that takes no arguments, and (.. node getLoad apply this ) is trying to do this (in java): node.getLoad().apply().this() I think you want (.. node getLoad (apply this)) Cheers, Jay On May 23, 2010, at 4:39 PM, Timothy Washing

Using Java's 'this' keyword

2010-05-23 Thread Timothy Washington
Hi there, I'm trying to get Java's '*this*' passed as a variable to clojure's sugared Java integration. All's fine until the end of line 43. I've tried '*this*' and *(proxy-super)*, on a lamb, but no dice. 42 (if (not= (. node getLoad ) nil) ;; Java equivalent - *if(node.getLoad()