Are there static methods in TOOL

Do static or class methods exist in TOOL?

If they do, I would appreciate a pointer to the documentation.

If they don't exist, what is best practice for creating utility or helper methods for things like string operations, getting random numbers within a range etc.

Thank you for considering this post.

[327 byte] By [utnapishtim] at [2007-11-26 6:17:11]
# 1

No there is no "static" concept. So you have to instantiate your class with the utility methods in it. Probably the easiest is to have an attribute in a generic class as high up in your inherictance structure as you can. So then its intstantiated once and everything that inherits from there has access to it.

ant0ne at 2007-7-6 13:58:20 > top of Java-index,Application & Integration Servers,Integration Servers...
# 2
You could take your helper class and make a service object out of it. That way you could just call HelperClassSO.<public method> which is essentially acting as static method.... Just make sure your Service Object has the desired visibility.
smonty1 at 2007-7-6 13:58:20 > top of Java-index,Application & Integration Servers,Integration Servers...