increment form pid 增量式pid
Check each char read to see whether it is a form feed; if so, increment the page counter.
检查每个读取的字符是否为换页符;若是,则增加页计数器。
Listing 3 shows an example of using the field reflection methods, in the form of a method to increment an int field of an object by name.
清单3显示使用字段反射方法的一个实例,以方法的格式根据名称增加对象的int字段。
Ideally, you'd like to be able to have your guarded increment operation look something like Listing 5 and have the code in the block mean the same as it would in the expanded form from Listing 2.
理想情况下,受保护的递增操作应该像清单5所示的那样,并且块中代码的含义和清单2的扩展形式相同。
应用推荐