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
identity
always
instance?
object-class
==
~==
~
Returns true if its argument is false; otherwise returns false.
object-hash
Table 11-2 Generic functions on <object> Function
Description
Page
initialize
Performs instance initialization that cannot be specified declaratively by a class definition.
as
shallow-copy
type-for-copy
Returns an appropriate type for creating mutable copies of its argument.
size
empty?
Table 11-3 Methods on <object> Function
Description
Page
initialize
Performs instance initialization that cannot be specified declaratively by a class definition.
type-for-copy
Returns an appropriate type for creating mutable copies of its argument.
=