PROTOCOLS

PROTOCOLS
复制标题

DOI:
10.1007/978-1-4302-6488-0_23
复制
发表时间:
1950-04
影响因子:
6.7
通讯作者:
Ph. D .Thesis;Dr. Indra Rajasingh
Ph. D .Thesis;Dr. Indra Rajasingh
中科院分区:
医学1区
文献类型:
--
作者:
Ph. D .Thesis;Dr. Indra Rajasingh

文献摘要

被引文献

相似文献

协议用于独立于类定义一组方法和属性。任何类都可以采用协议,这意味着类实现了协议定义的属性和方法。实际上,协议定义了一个类可以同意履行的契约。当一个类采用一个协议时,你可以确信这个类已经实现了协议中的属性和方法。
Protocols are used to define a set of methods and properties independently of a class. Any class can adopt a protocol, which means that the class implements the properties and methods defined by the protocol. In effect, protocols define a contract that classes can agree to fulfill. When a class adopts a protocol, you can be confident that the class will have implemented the properties and methods in the protocol.