jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes Boolean Class Method? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Boolean Class Method?" Watch "Boolean Class Method?" New topic

Boolean Class Method?

Kalona Ark

Joined: Oct 31, 2007
Posts: 20
Can someone please explain or provide links so I can understand how to construct a boolean class method?
Bill Shirley
Ranch Hand

Joined: Nov 08, 2007
Posts: 457

this example is in Java EE 5.0,
the boolean is "auto boxed" into a Boolean by the compiler

Bill Shirley - bshirley - frazerbilt.com
if (Posts < 30) you.read( JavaRanchFAQ);
fred rosenberger
lowercase baba

Joined: Oct 02, 2003
Posts: 11955

I don't understand the question. do you want to make a Boolean (i.e. call it's constructor)?

Or are you trying to make a new method in the Boolean class? or are you trying to extend the Boolean class to make your own method?

I'd start with the api, although I don't know which version you are using.

There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Kalona Ark

Joined: Oct 31, 2007
Posts: 20
Thanks for the info, Bill.


"Boolean class method which takes one character of a line as a parameter."

That is what my Instructor wanted, but I did not understand the concept of a boolean class method.
[ November 20, 2007: Message edited by: Kalona Ark ]
I agree. Here's the link: http://aspose.com/file-tools
subject: Boolean Class Method?
It's not a secret anymore!