having 12 ints for the months of the year is not a very flexible design. As you have found, you need 12 case statements to "hard code" the conditions. Imagine now doing that with days of the year. As Wayne says, perhaps a setJobcount(int month, int count) method.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
