Programmer's Reference
This section describes the protocols supported by
OSImmediate.
- =
- Answer a Boolean indicating whether the receiver and
anOSObject are equal. Two immediates are equal if they have
the same class and equal values.
- asInteger
- Attempt to coerce the receiver's value to an integer.
- indirectionLevel
- Answer the receiver's indirection level.
- isImmediate
- Answer true if the receiver represents an immediate data
element.
- isNull
- Answer true if the receiver is a NULL value.
- notNull
- Answer true if the receiver is not a NULL value.
- value
- Answer the receiver's immediate data coerced into the most
appropriate Smalltalk class, as defined by the particular OSObject
subclass. For immediates, this is always an unsigned integer.
- immediate:
- Answer a new instance of the receiver with indirection level 0,
referencing a data element with the same value as the parameter.
- new
- Answer a new instance of the receiver with indirection level 0,
referencing 0.
- value:
- Same as immediate:.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]