Add all 23 GoF design pattern implementations (2026-06-13)
This commit is contained in:
9
03-behavioral/interpreter/Expression.java
Normal file
9
03-behavioral/interpreter/Expression.java
Normal file
@@ -0,0 +1,9 @@
|
||||
package interpreter;
|
||||
|
||||
/**
|
||||
* AbstractExpression — declares the interpret operation.
|
||||
* All terminal and non-terminal expressions implement this.
|
||||
*/
|
||||
public interface Expression {
|
||||
int interpret();
|
||||
}
|
||||
Reference in New Issue
Block a user