Ah sorry I missed that.
However, you accomplished this only because there exists a constructor
in Thread that takes a String name argument.
As a general case, it's not usually that convenient...
ie.
public class MyThread extends Thread{
public MyThread(){
setName("This is my thread");
setPropertyA("bla bla bla");
setPropertyB("bla bla bla");
etc...
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---