>>>>> "Vladimir" == Vladimir G Ivanovic <[EMAIL PROTECTED]> writes: [...] > An alternative is to use factories. Joshua Bloch has a write-up of the > benefits (and the costs) in his excellent adventure, "Effective Java" > (pp. 5-9).
W.r.t. this thread, that's just another way to homogenize the signatures (since now you're dealing directly with the factory method rather than a passel of constructors). [Factories do, of course, have all sorts of usefulness.] Take care, John ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]