question2
Class ChainCommand<T>

java.lang.Object
  extended by question2.ChainCommand<T>
All Implemented Interfaces:
Command<T>

public class ChainCommand<T>
extends java.lang.Object
implements Command<T>

Convertit la "commande" vers une chaîne de responsabilités.

Author:
Jacquemin Thibault, Marleix Mathieu

Constructor Summary
ChainCommand(Handler<T> chain)
           
 
Method Summary
 void make(T value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainCommand

public ChainCommand(Handler<T> chain)
Method Detail

make

public void make(T value)
Specified by:
make in interface Command<T>