org.apache.clerezza.rdf.core.access
Class WeightedProviderComparator
java.lang.Object
org.apache.clerezza.rdf.core.access.WeightedProviderComparator
- All Implemented Interfaces:
- Comparator<WeightedTcProvider>
public class WeightedProviderComparator
- extends Object
- implements Comparator<WeightedTcProvider>
Compares the WeightedTcManagementProviders, descending for weight and
ascending by name
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeightedProviderComparator
public WeightedProviderComparator()
compare
public int compare(WeightedTcProvider o1,
WeightedTcProvider o2)
- Specified by:
compare in interface Comparator<WeightedTcProvider>
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.