Comment is sending IDGen a nextID message (which in most languages leads to the nextID method on IDGen getting called).
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
For grins, here is a little REXX program that draws text sequence diagrams. Post such diagrams between CODE tags to preserve the spacing. http://www.surfscranton.com/architecture/oochart.rex I'd be happy to have a Java equivalent (input and output!) if somebody wants to make one for fun.
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