在最后一行中,我们将已变更的值传递给属性代理。
In the last line, we broadcast the changed value to the property broker.
这一点可以通过在最后一行上调用assert语句进行验证。
You can verify this by calling the assert statement on the last line.
在最后一行,我们使用了一个object而不是一个class来简化代码。
On the last line, using an object rather than a class simplifies the code.
注意,在Groovy中方法的最后一行是它的返回值。
Note that in Groovy, the method's last line is its return value.
main的最后一行在输出中加入了一个换行。
main的最后一行在输出中加入了一个换行。
应用推荐