net.sf.uadetector.internal.data
Class OrderedPatternComparator<T extends java.lang.Comparable<T>>

java.lang.Object
  extended by net.sf.uadetector.internal.util.CompareNullSafe<T>
      extended by net.sf.uadetector.internal.data.OrderedPatternComparator<T>
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator<T>

public final class OrderedPatternComparator<T extends java.lang.Comparable<T>>
extends CompareNullSafe<T>

See Also:
Serialized Form

Constructor Summary
OrderedPatternComparator()
           
 
Method Summary
 int compareType(T o1, T o2)
           
 
Methods inherited from class net.sf.uadetector.internal.util.CompareNullSafe
compare, compareInt
 
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

OrderedPatternComparator

public OrderedPatternComparator()
Method Detail

compareType

public int compareType(T o1,
                       T o2)
Specified by:
compareType in class CompareNullSafe<T extends java.lang.Comparable<T>>


Copyright © 2011-2014. All Rights Reserved.