Joseph Kesselman wrote: >>Andy Clark wrote: >>>The one thing you might immediately question is my use >>>of a Boolean object instead of the boolean primitive. > > I do so question. An integer with static-final mnemonic values is probably > more efficient, and (I think) no less clear.
Yuck. ;) Java has a boolean primitive and I think that it's *more* clear to use it than switch to an integer. Especially since the setFeature method takes a boolean as a parameter. The only problem with the boolean (little 'b') type is that there is no way to return "don't care" or "no value". However, using the Boolean (big 'b') object allows this distinction. -- Andy Clark * [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
