org.jboss.aop.util
Class FieldComparator

java.lang.Object
  extended by org.jboss.aop.util.FieldComparator
All Implemented Interfaces:
Comparator<Field>

public class FieldComparator
extends Object
implements Comparator<Field>

Compares Fields. This is used to make sure the field IDs line up between the advisor and the instrumentor.

Version:
$Revision: 68507 $
Author:
Bill Burke

Field Summary
static Comparator<Field> INSTANCE
           
 
Method Summary
 int compare(Field m1, Field m2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

INSTANCE

public static final Comparator<Field> INSTANCE
Method Detail

compare

public int compare(Field m1,
                   Field m2)
Specified by:
compare in interface Comparator<Field>


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.