You can add more code to the validateUnit(...) method to validate other attributes on the unit.
您可以对 validateUnit(...) 方法添加更多的代码,以确认单元上的其他属性。
The last thing we have to do is invoke the method add on calc.
最后必须做的一件事,就是调用calc上的方法add 。
This is a very simple wrapper around the add method on the FeedList class.
这是一个非常简单的包装器,打包了feedlist类的add方法。
应用推荐