
上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.