TAILIEUCHUNG - HandBooks Professional Java-C-Scrip-SQL part 114

Tham khảo tài liệu 'handbooks professional java-c-scrip-sql part 114', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | If the receiver is a class object returns the metaclass object for the metaclass of the receiver. - const char name Returns the name of the receiver s class. - id self Returns the receiver. You can get a class object from the class s name with this method Class classobj MyClass self - unsigned int hash Returns an integer that can be used to store the object in a hash table. If two objects are equal as reported by - isEqual they will have the same hash value. However two unequal objects may also share the same hash value. - BOOL isEqual id obj Returns YES if the receiver and obj are equal as pointers otherwise returns NO. Override to implement another relation such as equality of contents. - int compare id obj Returns one of the following values 0 if self isEqual obj returns YES. -1 if the receiver s value as a pointer is less than that of obj. 1 if the receiver s value as a pointer is greater than that of obj. Override this method if you want to compare your objects in a different way. Testing object type Objective-C minimizes the differences between regular and class objects but sometimes it is helpful to know which is which. In addition the GNU runtime distinguishes between class and metaclass objects. The following methods let you find out from an object what kind it is - BOOL islnstance Returns YES if the receiver is a regular object otherwise NO. - BOOL isClass Returns YES if the receiver is a class object otherwise NO. - BOOL isMetaClass Returns YES if the receiver is a metaclass object otherwise NO. Testing inheritance and conformance Use the following methods to find out an object s place in the inheritance hierarchy - BOOL isKindOf Class classObj If the receiver is an ordinary object returns YES if the receiver s class is classObj or a descendant of it NO otherwise. If the receiver is a class object returns YES if classObj is the immediate metaclass of the receiver NO otherwise. If the receiver is a metaclass returns NO. - BOOL .

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.