因此我们不能对内容提供程序使用隐式的构造函数。
So we cannot use the implicit constructor for our content provider.
正如您在前面看到的那样,静态字段初始值设定项的代码在隐式类型构造函数的内部执行。
As you saw earlier, the code for a static field initializer executes inside an implicit type constructor.
predicate_result对象有一个隐式的构造函数,它接受一个boolean值,因此即使validate_list的期望类型和实际返回类型不同,代码仍然会正常运行。
The predicate_result object has an implicit constructor that accepts a Boolean value, which explains why the code works fine even though the expected and actual return types of validate_list differ.
应用推荐