org.apache.directory.server.xdbm.search.impl
Class ScanCountComparator<ID>
java.lang.Object
org.apache.directory.server.xdbm.search.impl.ScanCountComparator<ID>
- Type Parameters:
ID - The type of element
- All Implemented Interfaces:
- Comparator<Evaluator<?,org.apache.directory.shared.ldap.model.entry.Entry,ID>>
public class ScanCountComparator<ID>
- extends Object
- implements Comparator<Evaluator<?,org.apache.directory.shared.ldap.model.entry.Entry,ID>>
A helper class used to compare scan counts.
- Author:
- Apache Directory Project
|
Method Summary |
int |
compare(Evaluator<?,org.apache.directory.shared.ldap.model.entry.Entry,ID> e1,
Evaluator<?,org.apache.directory.shared.ldap.model.entry.Entry,ID> e2)
Compare two scan counts frpm two evaluators |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScanCountComparator
public ScanCountComparator()
compare
public int compare(Evaluator<?,org.apache.directory.shared.ldap.model.entry.Entry,ID> e1,
Evaluator<?,org.apache.directory.shared.ldap.model.entry.Entry,ID> e2)
- Compare two scan counts frpm two evaluators
- Specified by:
compare in interface Comparator<Evaluator<?,org.apache.directory.shared.ldap.model.entry.Entry,ID>>
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.