On Fri, Dec 11, 2009 at 12:27 PM, Keith Irwin <[email protected]> wrote:
> public abstract class Foo {
>
> private Map stuff;
>
> private void initStuff() {
>
> stuff = new HashMap();
> stuff.put("a", new Object());
> addStuff(stuff);
> }
>
> protected void abstract addStuff(Map stuff);
> }
> In Clojure, I construct:
>
> (proxy [Foo] []
> (addStuff [stuff] (println "yay!")))
>
I should amend this to say that I get an AbstractMethodError when the
(proxy ...) is evaluted. I'm running the code as a script.
Keith
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en