![Hands-On Design Patterns with Java](https://wfqqreader-1252317822.image.myqcloud.com/cover/688/36698688/b_36698688.jpg)
上QQ阅读APP看书,第一时间看更新
The Expression interface
The Expression interface declares the interpret() method, which receives a Conversion object as an argument:
interface Expression {
void interpret(Conversion orignalContent);
}
As shown, the Expression interface consists of a single interpret() method.