CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: nuzzle

Search: Search took 0.28 seconds.

  1. Replies
    4
    Views
    1,941

    Re: Design a Algorithm/ Module Design Pattern

    Sure, Collections.sort() could serve as a blueprint for how to implement the Strategy pattern in Java. Here's an example,

    http://www.vogella.com/blog/2009/08/04/collections-sort-java/

    This...
  2. Replies
    4
    Views
    1,941

    Re: Design a Algorithm/ Module Design Pattern

    In such cases the Strategy design pattern is often used.

    To understand how it works take sorting as an example. Instead of writing a different sort module for each and every kind of item you want...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured