File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Boolean Class Method?" Watch "Boolean Class Method?" New topic
Author

Boolean Class Method?

Kalona Ark
Greenhorn

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
Bartender

Joined: Oct 02, 2003
Posts: 11402
    
  16

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
Greenhorn

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

Fred,

"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?