# finalize.rb

Path: | finalize.rb
Last Update: | Fri Nov 08 05:18:14 AUS Eastern Daylight Time 2002

      finalizer.rb -
          $Release Version: 0.3$
          $Revision: 1.4 $
          $Date: 1998/02/27 05:34:33 $
          by Keiju ISHITSUKA

—

      Usage:

      add(obj, dependant, method = :finalize, *opt)
      add_dependency(obj, dependant, method = :finalize, *opt)
          add dependency R_method(obj, dependant)

      delete(obj_or_id, dependant, method = :finalize)
      delete_dependency(obj_or_id, dependant, method = :finalize)
          delete dependency R_method(obj, dependant)
      delete_all_dependency(obj_or_id, dependant)
          delete dependency R_*(obj, dependant)
      delete_by_dependant(dependant, method = :finalize)
          delete dependency R_method(*, dependant)
      delete_all_by_dependant(dependant)
          delete dependency R_*(*, dependant)
      delete_all
          delete all dependency R_*(*, *)

      finalize(obj_or_id, dependant, method = :finalize)
      finalize_dependency(obj_or_id, dependant, method = :finalize)
          finalize the dependant connected by dependency R_method(obj, dependtant).
      finalize_all_dependency(obj_or_id, dependant)
          finalize all dependants connected by dependency R_*(obj, dependtant).
      finalize_by_dependant(dependant, method = :finalize)
          finalize the dependant connected by dependency R_method(*, dependtant).
      finalize_all_by_dependant(dependant)
          finalize all dependants connected by dependency R_*(*, dependant).
      finalize_all
          finalize all dependency registered to the Finalizer.

      safe{..}
          stop invoking Finalizer on GC.

[Validate]