Pattern STRATEGY


Context

  1. A class (the context class) can benefit from variants on an algorithm
  2. Clients of the context class can supply custom versions of the algorithm

prev |top |next