001 package railo.runtime.debug; 002 003 import java.util.Comparator; 004 005 006 007 /** 008 * 009 */ 010 public final class QueryEntryComparator implements Comparator { 011 012 /** 013 * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object) 014 */ 015 public int compare(Object o1, Object o2) { 016 return compare((QueryEntry)o1,(QueryEntry)o2); 017 } 018 019 private int compare(QueryEntry qe1,QueryEntry qe2) { 020 return (qe2.getExe())-(qe1.getExe()); 021 } 022 }