org.acm.seguin.summary.query
Class Ancestor

java.lang.Object
  extended by org.acm.seguin.summary.query.Ancestor

public class Ancestor
extends java.lang.Object

Checks to see if one type is an ancestor of another one

Author:
Chris Seguin

Constructor Summary
Ancestor()
           
 
Method Summary
static boolean query(TypeSummary node, TypeSummary ancestor)
          Checks to see if one type is an ancestor of another one
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ancestor

public Ancestor()
Method Detail

query

public static boolean query(TypeSummary node,
                            TypeSummary ancestor)
Checks to see if one type is an ancestor of another one

Parameters:
node - the type summary in question
ancestor - the ancestor type summary
Returns:
true if node is child (or grandchild or great grandchild or ...) of ancestor