edu.vub.at.objects
Interface Nil


 Nil

The methods understood by the native nil object. All other objects in the system delegate to nil eventually. Hence, nil's methods may be invoked on all objects in the system.

Author:
tvcutsem

Method Summary
 Boolean ==(Object other)
          The identity operator.
 Boolean !=(Object other)
          The !
 Object init(Object[] initargs)
          This method is invoked when a new instance of the object is created using this#base_new(ATObject[]).
 Object new(Object[] initargs)
          Creates a new instance (a clone) of the receiver and initialises it by invoking its this#base_init(ATObject[]) method.
 
Methods inherited from interface edu.vub.at.objects.Object
super
 

Method Detail

!=

Boolean !=(Object other)
The != operator which returns false only if the passed parameter equals nil.


==

Boolean ==(Object other)
The identity operator. In AmbientTalk, equality of objects is by default pointer-equality (i.e. objects are equal only if they are identical).

Returns:
by default, true if the parameter object and this object are identical, false otherwise.

init

Object init(Object[] initargs)
This method is invoked when a new instance of the object is created using this#base_new(ATObject[]). The default implementation does nothing, but can be overridden to re-initialize the cloned instance.


new

Object new(Object[] initargs)
Creates a new instance (a clone) of the receiver and initialises it by invoking its this#base_init(ATObject[]) method.