Re: java enum problem

2009-04-29 Thread brus
On 29 tra, 17:00, Stuart Sierra wrote: > On Apr 29, 10:14 am, brus wrote: > > > (def AShow (proxy [Enum] ["AlwaysShow" 1])) > > I don't think you can proxy an enumeration.  You can use gen-class, > but even that doesn't work perfectly.  You may need to break down and > write some Java. > > -Stu

Re: java enum problem

2009-04-29 Thread Stuart Sierra
On Apr 29, 10:14 am, brus wrote: > (def AShow (proxy [Enum] ["AlwaysShow" 1])) I don't think you can proxy an enumeration. You can use gen-class, but even that doesn't work perfectly. You may need to break down and write some Java. -Stuart Sierra --~--~-~--~~~---~-

java enum problem

2009-04-29 Thread brus
Hello to community. I'm trying to convert this "jMonkey Engine" java's code to Clojure: . public class TestSimpleGame extends SimpleGame { public static void main(String[] args) { TestSimpleGame app = new TestSimpleGame();