Re: AW: Is this the way to do it?

2001-09-17 Thread D. Jay Newman
Sorry, but I think that he has created several instances of a Boolean with a "false" value. I know that if you use the constants Boolean.TRUE and Boolean.FALSE you will not create any new instances, but I think if you use "new" you create a new instance (which is why Boolean should not have had a

AW: Is this the way to do it?

2001-09-17 Thread Reto Badertscher
Hi Magnus, only two instances of Boolean exists: - TRUE - FALSE your different Booleans just hold a reference on one of the two. Reto -Ursprüngliche Nachricht- Von: Magnus Jansson [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 17. September 2001 09:25 An: [EMAIL PROTECTED] Betreff: Is thi