harpoon.Util.Graphs
Class Reachability

java.lang.Object
  |
  +--harpoon.Util.Graphs.Reachability

public abstract class Reachability
extends Object

Reachability

Version:
$Id: Reachability.java,v 1.1 2002/04/02 23:48:44 salcianu Exp $
Author:
Alexandru SALCIANU <salcianu@MIT.edu>

Nested Class Summary
static interface Reachability.Action
          Interface for passing a method as parameter.
 
Method Summary
static void forAllReachable(Set roots, Navigator nav, Reachability.Action action)
          Performs an action on each object reachanle from a set of roots.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

forAllReachable

public static void forAllReachable(Set roots,
                                   Navigator nav,
                                   Reachability.Action action)
Performs an action on each object reachanle from a set of roots.