com.free2be.dimensions.device
Class HighestConfidenceComparator

java.lang.Object
  extended by com.free2be.dimensions.device.HighestConfidenceComparator
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator

public class HighestConfidenceComparator
extends java.lang.Object
implements java.util.Comparator, java.io.Serializable

Compares the highest confidence level of device factories ordering highest in a sorted set first.

See Also:
ConfidenceComparator, Serialized Form

Constructor Summary
protected HighestConfidenceComparator()
           
 
Method Summary
 int compare(DeviceFactory left, DeviceFactory right)
           
 int compare(java.lang.Object left, java.lang.Object right)
           
static HighestConfidenceComparator getInstance()
           
 
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

HighestConfidenceComparator

protected HighestConfidenceComparator()
Method Detail

compare

public int compare(DeviceFactory left,
                   DeviceFactory right)

compare

public int compare(java.lang.Object left,
                   java.lang.Object right)
Specified by:
compare in interface java.util.Comparator

getInstance

public static HighestConfidenceComparator getInstance()