The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Pattern to eliminate Switch statements ??

Posted by Pat on January 10, 2001 at 5:55 PM

I have lot of 'switch' statements which really
clutter up the place and cause very inflexible class design.

Is there a design pattern which eliminates the need for te switch statements ?

thanks
Pat



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us