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 make-array) (doc into-array

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 might

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? --~--~-~--~~~---~--~~ You

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 francoisdev...@gmail.com 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