要对这一协议进行建模,我们需要指定生产者和消费者这两个角色,它们的职责、以及它们进行交互的协议或者规则。
To model this protocol, we need to specify the producer and consumer roles, their responsibilities, and the protocol or rules for how they interact.
在类的职责定义中,首先要注意“清晰定义”,就是指明确指定了可以做什么,不可以做什么。
It is primarily through the definition of responsibilities that you can give a class "crisp boundaries," a clear definition of what it does, and does not, do.
仲裁员因回避或者其他原因不能履行职责的,应当依照本法规定重新选定或者指定仲裁员。
Where an arbitrator is unable to perform his duties because of withdrawal or for any other reason, a new arbitrator shall be selected or appointed under this Law.
应用推荐