If you have a return type Boolean what does this return, does it returns true/false like the primimtive boolean? public java.lang.Boolean getIndicator() { return mIndicator; }
It returns a Boolean class. The Boolean class is not the same as the boolean primate. There is a method on the Boolean class which returns true/false.
Please ignore post, I have no idea what I am talking about.
Bart Wilson
Greenhorn
Joined: Aug 01, 2001
Posts: 17
posted
0
Figured it out the method is booleanValue()
Originally posted by christopher foran: It returns a Boolean class. The Boolean class is not the same as the boolean primate. There is a method on the Boolean class which returns true/false.