jdepend.framework

Class JavaClass.ClassComparator

public static class JavaClass.ClassComparator extends Object implements Comparator

The ClassComparator class is a Comparator used to compare two JavaClass instances for order.
Method Summary
intcompare(Object a, Object b)
Compares the specified objects for order.

Method Detail

compare

public int compare(Object a, Object b)
Compares the specified objects for order.

Parameters: p1 First class. p2 Second class.

Returns: A negative integer, zero, or a positive integer as the first object is less than, equal to, or greater than the second object.

Copyright B) 1999-2003 Clarkware Consulting, Inc.