org.apache.jackrabbit.stats
Class QueryStatDtoComparator

java.lang.Object
  extended by org.apache.jackrabbit.stats.QueryStatDtoComparator
All Implemented Interfaces:
Comparator<org.apache.jackrabbit.api.stats.QueryStatDto>

public class QueryStatDtoComparator
extends Object
implements Comparator<org.apache.jackrabbit.api.stats.QueryStatDto>

QueryStatDto comparator by duration


Constructor Summary
QueryStatDtoComparator()
           
 
Method Summary
 int compare(org.apache.jackrabbit.api.stats.QueryStatDto o1, org.apache.jackrabbit.api.stats.QueryStatDto o2)
           
 
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
 

Constructor Detail

QueryStatDtoComparator

public QueryStatDtoComparator()
Method Detail

compare

public int compare(org.apache.jackrabbit.api.stats.QueryStatDto o1,
                   org.apache.jackrabbit.api.stats.QueryStatDto o2)
Specified by:
compare in interface Comparator<org.apache.jackrabbit.api.stats.QueryStatDto>


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.