Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package org.jboss.aop.util;
 /*    */ 
 /*    */ import java.util.Comparator;
 /*    */ import  javassist.CtField;
 /*    */ 
 /*    */ public class CtFieldComparator
 /*    */   implements Comparator
 /*    */ {
 /* 37 */   public static final Comparator INSTANCE = new CtFieldComparator();
/*    */ 
/*    */   private int compare(CtField m1, CtField m2) {
/* 40 */     return m1.getName().compareTo(m2.getName());
/*    */   }
/*    */ 
/*    */   public int compare(Object o1Object o2) {
/* 44 */     return compare((CtField)o1, (CtField)o2);
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
 * Qualified Name:     org.jboss.aop.util.CtFieldComparator
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X