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
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.