由于它是在另外一个函数当中实现了一个匿名函数,人们就能够做一些前置检查和在迭代器创建之后进行计算。
Since it is implemented as an anonymous function within another function, one could do some preliminary checks and calculations before creating the iterator.
惟一需要以这种方式使用一个类的是一个默认构造函数(它允许您创建继承自类的一个匿名内部类)。
The only thing a class needs to be used this way is a default constructor (which allows you to create an anonymous inner class instance inheriting from your class).
惟一需要以这种方式使用一个类的是一个默认构造函数(它允许您创建继承自类的一个匿名内部类)。
The only thing a class needs to be used this way is a default constructor (which allows you to create an anonymous inner class instance inheriting from your class).
应用推荐