Re: Array of primitives

2009-04-03 Thread Meikel Brandmeyer
Hi, Am 03.04.2009 um 06:04 schrieb Sean: I'm working with AWT, and there is a method that requires a float[] (The java.awt.BasicStroke constructor). Is it possible to directly create an array of primitives directly in Clojure, or do I need to create a utility class in Java? find-doc

Re: Array of primitives

2009-04-03 Thread Albert Cardona
Sean wrote: > I'm working with AWT, and there is a method that requires a float[] > (The java.awt.BasicStroke constructor). Is it possible to directly > create an array of primitives directly in Clojure, or do I need to > create a utility class in Java? > See: (doc ma

Re: Array of primitives

2009-04-02 Thread David Nolen
you should look into float-array and friends. On Fri, Apr 3, 2009 at 12:04 AM, Sean wrote: > > I'm working with AWT, and there is a method that requires a float[] > (The java.awt.BasicStroke constructor). Is it possible to directly > create an array of primitives directly in

Array of primitives

2009-04-02 Thread Sean
I'm working with AWT, and there is a method that requires a float[] (The java.awt.BasicStroke constructor). Is it possible to directly create an array of primitives directly in Clojure, or do I need to create a utility class in Java? --~--~-~--~~~---~--~