Commit 028075d1 authored by Christoph Richter's avatar Christoph Richter
Browse files

BaseExecuteMethodGeneratorHandler: Added documentation

parent a4b10e5b
...@@ -5,6 +5,11 @@ import de.se_rwth.commons.logging.Log; ...@@ -5,6 +5,11 @@ import de.se_rwth.commons.logging.Log;
import java.util.List; import java.util.List;
/**
* Implements the chain-of-responsibility pattern
*
* @author Christoph Richter
*/
public abstract class BaseExecuteMethodGeneratorHandler { public abstract class BaseExecuteMethodGeneratorHandler {
private BaseExecuteMethodGeneratorHandler successor = null; private BaseExecuteMethodGeneratorHandler successor = null;
......
...@@ -10,7 +10,11 @@ import de.se_rwth.commons.logging.Log; ...@@ -10,7 +10,11 @@ import de.se_rwth.commons.logging.Log;
import java.util.List; import java.util.List;
/** /**
* Generates a execute method for math symbols.
* Can be extended by setSuccessors() to handle unknown symbols. Implements chain-of-responsibility pattern.
*
* @author Sascha Schneiders * @author Sascha Schneiders
* @author Christoph Richter implemented chain-of-responsibility pattern
*/ */
public class ExecuteMethodGenerator extends BaseExecuteMethodGeneratorHandler { public class ExecuteMethodGenerator extends BaseExecuteMethodGeneratorHandler {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment