All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class kl1.lang.GNotifier

java.lang.Object
   |
   +----kl1.lang.KL1Object
           |
           +----kl1.lang.GCObj
                   |
                   +----kl1.lang.GNotifier

public abstract class GNotifier
extends GCObj
This class represents a notifier.

Author:
Satoshi KURAMOCHI

Constructor Index

 o GNotifier()
Constructs a notifier object.
 o GNotifier(Var[])
Constructs a notifier object.

Method Index

 o ()
 o _new()
 o _new(KL1Machine, KL1Object[])
Creates generic objects.
 o _notify(KL1Object)
Called when the hooked variable is instantiated by active unification.
 o active_unify(KL1Machine, KL1Object)
Performs an active unification.
 o print()
Prints the information of the object.

Constructors

 o GNotifier
 public GNotifier()
Constructs a notifier object.

 o GNotifier
 public GNotifier(Var var[])
Constructs a notifier object.

Methods

 o
 static void ()
 o _notify
 public void _notify(KL1Object var)
Called when the hooked variable is instantiated by active unification. Override this method to notify instantiation of the hooked variable.

Parameters:
var - the value of hooked variable.
 o active_unify
 public KL1Object active_unify(KL1Machine mach,
                               KL1Object that)
Performs an active unification.

Overrides:
active_unify in class GCObj
 o print
 public String print()
Prints the information of the object.

Overrides:
print in class KL1Object
 o _new
 public static KL1Object _new(KL1Machine mach,
                              KL1Object argv[])
Creates generic objects.

 o _new
 public Var _new()

All Packages  Class Hierarchy  This Package  Previous  Next  Index