Thank you verec, I hadn't been aware of this.
Kind regards, alux
On 13 Apr., 00:08, verec
wrote:
> You may also want to browse this thread:
>
> http://groups.google.com/group/clojure/browse_frm/thread/a80e07675663...
--
You received this message because you are subscribed to the Google
Groups
You may also want to browse this thread:
http://groups.google.com/group/clojure/browse_frm/thread/a80e0767566357e5/224909f792464f6d
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note tha
Oh, thats fine. Now I can even reduce my
(Class/forName "javax.sound.sampled.SourceDataLine")
to just
SourceDataLine
I like shortening code (especially if it stays readable).
Thank you.
alux
On 12 Apr., 14:41, Michael Wood wrote:
> On 12 April 2010 13:54, alux wrote:
>
> > Aaaah!
>
> > Hel
On 12 April 2010 13:54, alux wrote:
> Aaaah!
>
> Hello Kevin, right, thank you! I had even seen this once before, but
> forgot it ;-)
I wouldn't have bothered replying if Gmail hadn't put this in a
separate thread :)
Oh well.
Perhaps my slightly more explicit answer will help someone else in fu
It's: javax.sound.sampled.Line$Info
alux writes:
> Hello,
>
> sorry, I'm a bit slow today. I try to create an instance of a Java
> class I want to use, and am just confused.
>
> The Java code is
>
> import javax.sound.sampled.*;
>
> ...
>
> Line.Info li = new Line.Info(Object.class);
>
> My two
On 12 April 2010 13:21, alux wrote:
> Hello,
>
> sorry, I'm a bit slow today. I try to create an instance of a Java
> class I want to use, and am just confused.
>
> The Java code is
>
> import javax.sound.sampled.*;
>
> ...
>
> Line.Info li = new Line.Info(Object.class);
>
> My two (wrong) trials
Aaaah!
Hello Kevin, right, thank you! I had even seen this once before, but
forgot it ;-)
Regards, alux
On 12 Apr., 13:34, "Kevin" wrote:
> > import javax.sound.sampled.*;
>
> > ...
>
> > Line.Info li = new Line.Info(Object.class);
>
> > My two (wrong) trials are:
>
> > (def li (new javax.soun
>
> import javax.sound.sampled.*;
>
> ...
>
> Line.Info li = new Line.Info(Object.class);
>
> My two (wrong) trials are:
>
> (def li (new javax.sound.sampled.Line/Info (.getClass (Object. ; gives
Unable to resolve classname: javax.sound.sampled.Line/Info ; [Thrown class
java.lang.IllegalAr
Hello,
sorry, I'm a bit slow today. I try to create an instance of a Java
class I want to use, and am just confused.
The Java code is
import javax.sound.sampled.*;
...
Line.Info li = new Line.Info(Object.class);
My two (wrong) trials are:
(def li (new javax.sound.sampled.Line/Info (.getClass