Rio Project 4.2 API Documentation
org.rioproject.monitor
Class ResourceCostSelector.CostComparator
java.lang.Object
org.rioproject.monitor.ResourceCostSelector.CostComparator
- All Implemented Interfaces:
- Comparator
- Enclosing class:
- ResourceCostSelector
public static class ResourceCostSelector.CostComparator
- extends Object
- implements Comparator
The CostComparator is a Comparator which
sorts the Collection based on the Comparable
implementation of the ResourceCapability
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceCostSelector.CostComparator
public ResourceCostSelector.CostComparator()
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare in interface Comparator
Copyright © 2006-2011 Rio Project. All Rights Reserved.