Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

Analysis::classComparator Class Reference

Inheritance diagram for Analysis::classComparator:
[legend]
Collaboration diagram for Analysis::classComparator:
[legend]
List of all members.

Public Methods

int compare (Object o1, Object o2)

Detailed Description

This class implements the Comparator interface to aid sort classes and interfaces depending on hierarchy.

Author:
Venkatesh Prasad Ranganath

Definition at line 421 of file bofa/Analysis.java.


Member Function Documentation

int Analysis::classComparator::compare Object   o1,
Object   o2
[inline]
 

Compares two classes in the order of hierarchy.

Parameters:
o1   the first SootClass object in the comparison
o2   the second SootClass object in the comparison
Returns:
-1 if o1 and o2 are the same SootClasses 0 if o2 is the immediate superclass of o1 1 if o1 has no superclass

Definition at line 432 of file bofa/Analysis.java.


The documentation for this class was generated from the following file:
Generated at Thu Feb 7 07:04:21 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001