Basically, whenever the last argument of a method is an array of objects, or a parameter declaration with a triple dot, you can pass multiple parameters to this method.
基本上,只要当一个方法的最后一个参数是一个对象数组,或者是一个有三个点的参数,你就可以向这个方法传入多重参数。
It would be nice to have similar operators that could take names of, say, methods and give you other metadata objects, like method infos, property infos, and so on.
要是还有相似的用来获取名称的操作符就好了。比如,给你其它元数据对象——诸如方法信息、属性信息等等——的方法。
In a well-designed system, objects work together to accomplish a task; therefore, in order to test a method, we often have to provide other objects that enable the method to complete its task.
在一个设计良好的系统里,对象们协同工作共同完成一项任务;因此,为了检验一种方法,通常我们需要提供使得这种方法完成其任务的其他对象。
The easiest method of creating multiple objects is to have a standard name for each of the objects then add a number to each of them so they are unique.
创建多个对象最简单的方法是对每个对象使用标准名称,然后对每个名称加上一个数字,这样这些名称就都是唯一的了。
This factory method instantiates the collection of course objects by delegating the work to the service layer.
该工厂方法通过将这项工作委托给服务层来实例化课程对象集合。
This method restricts access to objects based commonly on the groups to which they belong.
此方法通常根据对象所属的分组来限制对对象的访问。
Generator objects come with a next method attached to them, and as such, allow you "pipeline" actions together.
生成器对象附带有下一个方法,因而允许您通过“管道”将操作连在一起。
As long as there are method executions against objects the class USES, simple mock expectations are sufficient to test those executions.
只要有针对类使用的对象的方法执行,简单的模拟期望就足以测试那些执行。
You have to remember which object is overriding which method, and what objects have new functionality attached to them.
你需要记住对象重写了哪个方法,以及为哪些对象添加了新的功能。
This method is an efficient way to locate config objects easily.
这个方法是轻松找到配置对象的高效途径。
As you can also see, the method parameters can be primitive types or objects.
可以看到,方法的参数可以是原生类型或是对象。
The factory method pattern, as its name implies, defines the implementation of a method used to churn out objects.
而工厂方法模式,顾名思义,定义的是一个用来大量产出对象的方法的实现。
However, it's essential that normally the method parameters are objects, not interfaces.
然而,通常方法参数基本都是对象而不是接口。
In a classic design, value objects or data transfer objects in those methods are used as method parameters and return values when complex objects are required.
在经典的设计中,这些方法中的值对象或数据传输对象用作方法参数并在需要复杂对象时返回值。
Method invocations on dynamic proxy classes do not perform nearly as well a direct method call on objects.
对动态代理类的方法调用,不会像直接调用对象的方法那样好。
The second method is passed the enumerated objects to populate the fields of each row.
第二个方法传递可枚举对象以填充各行的字段。
You do this by replacing the value objects in the method signatures with interfaces.
为此,要把方法签名中的值对象替换成接口。
These method parameters are defined as value objects; that is, objects with no logic that hold only data values.
这些方法参数定义成值对象,即不含逻辑只含数据值的对象。
The client of the method can determine whether the objects are compatible or not.
该方法的客户机能够确定对象是否兼容。
This method returns the list of child model objects, such as the nodes in the diagram.
此方法将返回子模型对象(例如图中的节点)列表。
The first is the method of distributed objects (also known as object Request Broker), and the second method is that of asynchronous messaging.
第一种方法是使用分布式对象(也称为对象请求代理),第二种方法是使用异步消息传递。
Hierarchical classification systems provide a granular method of categorizing objects according to business need.
分层结构的分类系统提供了一种根据业务需要对对象进行分类的细粒度方法。
What are annotated method data access objects?
什么是带注释的方法编程风格?
The main method then only puts NanoDelay objects into the queue and takes them out again.
然后main方法只是将NanoDelay对象放到队列中并再次将它们取出来。
The receive method is then invoked on these objects.
然后在这些对象上调用receive方法。
They rely on the equals method of their constituent objects to avoid duplicates.
它们依靠它们的组成对象的equals方法来避免重复。
The call method can deal with these objects without additional programming effort for the user.
call方法能够处理这些对象,同时不需要用户进行额外的编程工作。
This method returns an array of FlightsBean objects.
这个方法返回一个FlightsBean对象数组。
Highly efficient through the use of Bartok's native layouts for objects, method tables and arrays.
高效,这是通过使用Bartok的对象、方法表和数组的本地布局达到的。
Highly efficient through the use of Bartok's native layouts for objects, method tables and arrays.
高效,这是通过使用Bartok的对象、方法表和数组的本地布局达到的。
应用推荐