In Listing 2, the effect of the check on the value argument is negated by the existence of the finalize method.
在清单2中,finalize方法的存在使对value参数的检查变得无效。
When an object with a finalize method becomes unreachable, it is put on a queue to be processed at some later time.
当包含finalize方法的对象变得无法访问时,它会被放入一个将在以后某个时刻处理的队列上。
When the heap object's finalize method is run and its memory freed, the WeakReference object is added to its ReferenceQueue, if it exists.
当heap对象的finalize方法被运行而且该对象占用的内存被释放时,WeakReference对象就被添加到它的ReferenceQueue(如果后者存在的话)。
If the source code in the workbench has code with a finalize method that fits your rule, the analysis results view will contain a result like the one that Figure 8 shows.
如果工作台中的源代码拥有一个满足您的规则的finalize方法,那么分析结果视图将包含一个如图8中所示的结果。
If the source code in the workbench has code with a finalize method that fits your rule, the analysis results view will contain a result like the one that Figure 8 shows.
如果工作台中的源代码拥有一个满足您的规则的finalize方法,那么分析结果视图将包含一个如图8中所示的结果。
应用推荐