• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

URGENT! Design Pattern question.

 
Bartender
Posts: 1205
22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need to implement a program that calculates the sound of one hand clapping. It seems like I should implement this as a Singleton pattern.

Please help withthis homework question. I need the answer by the end of the day.

I'll crosspost to the OO, Design Pattern, Refactoring forum.

Ryan
/ 2
[ April 01, 2005: Message edited by: Ryan McGuire ]
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please give some more inputs.
which hand right or left???
 
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No need for any design pattern .


Now , I think you got some idea ...
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Shanmugavel Gnanasambandham:
Please give some more inputs.
which hand right or left???



it should be flexible .. for hands and legs as well.
 
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am geting exception



 
Shamu Somasundaram
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by rathi ji:
No need for any design pattern .


Now , I think you got some idea ...



U didn't catch the UltrasonicException and InfrasonicException..


 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ryan McGuire:
I need to implement a program that calculates the sound of one hand clapping. It seems like I should implement this as a Singleton pattern.



Of course! I never use anything else!


Please help withthis homework question. I need the answer by the end of the day.



You forgot to give the email address, so that I can post the solution to you privately.


I'll crosspost to the OO, Design Pattern, Refactoring forum.



Don't forget all the three Java in General forums! If you don't post there, how am I supposed to believe that it's really urgent?!?
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let Ilja write you a UML as Sketch. That should really give you everything that you need. You won't ever have to think while your are programming, because it is 100% all in the drawing.

As a matter of fact, you can use TogetherSoft to take his sequence diagram, and it will write all the code to launch the shuttle.

Mark
 
Ilja Preuss
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Generating code from UML is *so* yesterday! I'm using ApartSoft XP, which directly executes User Stories!
 
reply
    Bookmark Topic Watch Topic
  • New Topic