You certainly shouldn't ditch teamwork, but how can you avoid the hazards of being an over-collaborator?
你当然不应该放弃团队合作。但如何才能避免过度合作带来的风险呢?
Listing 6 shows the changes made to the Collaborator object.
清单6显示了对Collaborator对象所做的更改。
Collaborator object: the object created or obtained by the target.
合作者对象:由目标对象创建或获取的对象。
Identify all occurrences of code that create or obtain the collaborator.
标识创建或获取合作者的代码的所有出现。
Copperfield: I did a Broadway show and Francis Ford Coppola was my collaborator.
科波菲尔:我跟法兰西斯·福特·科波拉一起合作过百老汇表演。
Listing 13 shows the most important part of the test example: the Collaborator class.
清单13显示了测试示例的最重要部分:collaborator类。
If you learn what it takes to be a good collaborator, you'll also be a good conversationalist.
如果你了解如何才能成为一个好的合作者,你将是一个好的沟通者。
For instance, you may change the method signature so that the collaborator object is passed in.
例如,可以更改方法签名,以便传入合作者对象。
Mock object: a subclass (or implementation) of the collaborator that follows the mock object pattern.
模仿对象:遵循模仿对象模式的合作者的子类(或实现)。
The interface ICollaborator has a single method that must be implemented in the Collaborator class.
接口icollaborator有一个必须在collaborator类中实现的方法。
By using JNDI enc, the dependent object can explicitly request a reference to a certain collaborator.
通过使用JNDIENC,依赖对象可以显式地请求对某个协作者的引用。
A GDS could consider Vayant competition or collaborator, and we've seen both reactions in the market.
GDS可以将Vayant看作是竞争对手,也可以看作是合作伙伴,这两种反应我们在市场上都看到过。
The service method takes an object named a Collaborator, which implements a simple interface, ICollaborator.
服务方法将获取实现简单接口icollaborator的Collaborator对象。
Mr Prahalad invariably worked with a collaborator and never wrote more than two articles on the same subject.
普拉哈拉德始终与人合作,从不就一个问题写两篇以上的文章。
Crick writes to collaborator Dr. Maurice Wilkins and praises the exit of a female collaborator, Dr. Rosalind Franklin.
克里克写信给其合作者莫里斯·威尔金斯博士,庆幸一位女性合作者罗莎林德·富兰克林的退出。
The class cast of the mock object into type Collaborator is necessary because the intercept method returns type object.
模拟对象到Collaborator类型的类强制转换十分有必要,因为intercept方法将返回类型Object。
The second thing to notice is that, conversely, you couldn't use the jMock framework to mock the Collaborator class.
反过来,需要注意的第二点是您不能使用jMock框架来模拟 Collaborator 类。
Having moved to the University of Cambridge he needed a collaborator to help him apply these techniques in human patients.
在移居到英国剑桥大学后,他需要一个合作者来帮他把这些技术应用到人类患者身上。
Within the setUp method, you instantiate an object array with the actual values the Collaborator class 'constructor needs.
在setUp方法内,用collaborator类的构造方法所需的实际值实例化对象数组。
Lyricist Irving Caesar happened to hear him play the piano and thought he resembled his former collaborator George Gershwin.
抒情诗人欧文·凯撒偶然听到他弹奏钢琴并觉得他很像自己以前的合作者乔治·格什温。
Also suppose that the Collaborator object requires a string and a primitive int as parameters passed to the constructor.
同时假定Collaborator对象要求使用字符串和原始的int作为传递给构造函数的参数。
We regarded Assange throughout as a source, not as a partner or collaborator, but he was a man who clearly had his own agenda.
始终,我们视阿桑奇为消息供源,而非伙伴或合作者,但他显然也是有着自己的意图的。
Instead of accepting an ICollaborator interface, it now accepts a concrete class implementation (the Collaborator class).
它现在不接受ICollaborator接口,而接受具体类实现(collaborator类)。
Specialization object: a subclass of the target that overrides the creation method to return a mock instead of a collaborator.
特殊化对象:覆盖创建方法以返回模仿对象而不是合作者的目标的子类。
We regarded Assange throughout as a source not as a partner or collaborator but he was a man who clearly had his own agenda.
我们一度只把阿桑奇当做消息源,而非合作伙伴或者同事,但我们却忘了,他本人也是有自己的安排的。
Add in a talented makeup artist as a collaborator and be sure to try many options and you will find that the sky is the limit.
融入你的想象力来创造艺术,尝试更多的办法,你会发现一切都是可能的。
In this case, the aspect determines when some behavior should be executed but delegates to a collaborator to perform the actual work.
在这种情况下,方面确定什么时候应当执行某些行为,但是会委托给协作器去执行实际的工作。
In this case, the aspect determines when some behavior should be executed but delegates to a collaborator to perform the actual work.
在这种情况下,方面确定什么时候应当执行某些行为,但是会委托给协作器去执行实际的工作。
应用推荐