deferred int compare id other pre other != nil;
otheris considered equal by the receiving object. 1 if the receiver considers himself larger, and -1 when smaller.
In short, a the combo of garbage collector and container implements weak referencing.
deferred void gc_container_mark_elements;
TRUEiff the receiving object is a container.
void setIsContainer boolean container_p;
Copyingclass defines an interface to copying objects.
Copying inherits from
State since class objects should not be
copyable. Inheriting from
State ensures that the
methods can not be inherited by class objects.
id deepen int level mutably: boolean mutable_p = NO;
deepen mutable:deepens the copy. Iff the optional
TRUE, the deepened copies will also be mutable. The default implementation does nothing.
level should be less than 0 for an infinite deepen.
0 is a nop; iff
length > 0, every element of the copy is copied and
level - 1.
The value returned is
copy. The default implementation does nothing but return
id initAsCopyOf All other;
otherobject. The default implementation does nothing but returning
Mutable copying asks the receiving object for its
If this class is
self is sent a
copy. Otherwise, an
instance of the class is allocated and sent an
class (State) mutableCopyClass;
instance (id) withEnumerable Enumerable other;
instance (id) withEnumerator Enumerator e;
deferred protected id initWithEnumerator Enumerator e;
deferred Enumerator enumerator;
Enumeratoron the receiving object.
deferred (boolean, _builtin_.Any) next;
TRUE, the end has not yet been reached.
(boolean, byte) next;
(boolean, char) next;
(boolean, int) next;
(boolean, long) next;
(boolean, float) next;
(boolean, double) next;