This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "helper classes" Watch "helper classes" New topic

helper classes

Augustin Caine

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

Joined: Aug 20, 2001
Posts: 1817

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

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