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 helper classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "helper classes" Watch "helper classes" New topic
Author

helper classes

Augustin Caine
Greenhorn

Joined: Apr 24, 2003
Posts: 8
I'm making some helper classes for String, Date and Number. Im running out of methods to add so I could use some suggestions as to what methods to create. Something new would be nice.
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1815
My favourite is getRandomDate!! I've never had call to actually use this as pat of the business logic of any program, but it is handy in testing!


Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I'm a REXX fan from mainframe work in the 1980s. Look at REXX functions for words and strings. I wind up implementing many of these in every new language I use.
Now that's great geek fun. The other side of my personality - business guy - is yelling "Get back to work!" and don't write anything that you don't have a requirement for. If you're coding for fun and your own experience, disregard that voice.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Augustin Caine
Greenhorn

Joined: Apr 24, 2003
Posts: 8
Hey thanks. They really worked out great.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: helper classes
 
Similar Threads
immutable classes
Question about helper class of session bean
Question about helper class of session bean
Component and class diagram
newbie - Stateless SessionBean calling static methods