com.imcode.util
Class ComparatorWrapper

java.lang.Object
  extended bycom.imcode.util.ChainableReversibleNullComparator
      extended bycom.imcode.util.ComparatorWrapper
All Implemented Interfaces:
java.util.Comparator, java.io.Serializable
Direct Known Subclasses:
ComparatorWrapper

public class ComparatorWrapper
extends ChainableReversibleNullComparator
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ComparatorWrapper(java.util.Comparator comparator)
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
Methods inherited from class com.imcode.util.ChainableReversibleNullComparator
chain, nullsFirst, nullsLast, reversed
 
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

ComparatorWrapper

public ComparatorWrapper(java.util.Comparator comparator)
Method Detail

compare

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