这相当于上面所列出的第四个选项,在该选项中对中间对象调用静态对象。
This is equivalent to the fourth option listed above, in which some static method is invoked on an intermediary object.
显然,如果每个工作单元都相当于单个字符串方法调用的两倍、十倍或一百倍,那么所花费的线程开销比例就相应地更小了。
Obviously, if each unit of work were two, or ten, or one hundred times as large as a single string method call, then the proportion of time spent in thread overhead would be correspondingly small.
它们在许多方面都相当于从元素上的inxxx脚本调用的声明式函数。
In many ways, they serve as the equivalent of declarative functions that are invoked from inXXX scripts on elements. For instance, for the Next Button, the trigger code.
这相当于一个回调机制,它在我们从业务状态机直接调用人工任务的设计方法中是没有的。
This serves as the callback mechanism we were missing when trying to invoke the human task directly from the business state machine.
所以,对于 JButton ,如果第三个参数是text ,那么这相当于一个setText()调用,该方法所需要的参数是由传递给第四个参数的String来表示的。
So, in the case of a JButton, if the third argument was text, then this would equate to a setText() call, where the argument to the method was represented by the String sent into the fourth argument.
基本上,我需要相当于净的调用方法。
仅定义一个局部变量而没在函数中调用它,同样会减慢速度(其程度相当于递增一个局部变量)。PHP大概会检查看是否存在全局变量。
Just declaring a global variable without using it in a function also slows things down (by about the same amount as incrementing a local var). PHP probably does a check to see if the global exists.
在一个函数里如果只声明一个全局变量而没在函数中调用它,同样会减慢速度(其程度相当于递增一个局部变量)。PHP很有可能会检查看是否存在全局变量。
Just declaring a global variable without using it in a function also slows things down (by about the same amount as incrementing a local var). PHP probably does a check to see if the global exists.
如果在异步对等名称解析操作不是处于未完成状态时调用此方法,其作用相当于“无操作”(NOOP)。
If this method is called when an asynchronous peer name resolution operation is not outstanding, it ACTS as a "no operation" (no op).
仅定义一个局部变量而没在函数中调用它,同样会减慢速度(其程度相当于递增一个局部变量)。
Just declaring a global variable without using it in a function also slows things down (by about the same amount as incrementing a local var).
仅定义一个局部变量而没在函数中调用它,同样会减慢速度(其程度相当于递增一个局部变量)。
Just declaring a global variable without using it in a function also slows things down (by about the same amount as incrementing a local var).
应用推荐