Chapter 11
The Built-In Classes
Objects
<object> [Open Abstract Class]
The class of all Dylan objects.
- Superclasses:
None.
<object>is the root of the Dylan class hierarchy.- Init-keywords:
None.
- Description:
The class
<object>is the root of the type system. All objects are general instances of<object>, all types are subtypes of<object>, and all classes are subclasses of<object>.- Operations:
-
The class
<object>provides the following operations:Table 11-1 Functions on <object> Function
Description
Page
identityalwaysinstance?object-class==~==~Returns true if its argument is false; otherwise returns false.
object-hashTable 11-2 Generic functions on <object> Function
Description
Page
initializePerforms instance initialization that cannot be specified declaratively by a class definition.
asshallow-copytype-for-copyReturns an appropriate type for creating mutable copies of its argument.
sizeempty?Table 11-3 Methods on <object> Function
Description
Page
initializePerforms instance initialization that cannot be specified declaratively by a class definition.
type-for-copyReturns an appropriate type for creating mutable copies of its argument.
=