com.mysema.query.util
Class MultiComparator<T>

java.lang.Object
  extended by com.mysema.query.util.MultiComparator<T>
All Implemented Interfaces:
Serializable, Comparator<T>

public class MultiComparator<T>
extends Object
implements Comparator<T>, Serializable

MultiComparator compares

Author:
tiwe
See Also:
Serialized Form

Constructor Summary
MultiComparator(com.mysema.codegen.Evaluator<Object[]> ev, boolean[] directions)
           
 
Method Summary
 int compare(T o1, T o2)
           
 
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

MultiComparator

public MultiComparator(com.mysema.codegen.Evaluator<Object[]> ev,
                       boolean[] directions)
Method Detail

compare

public int compare(T o1,
                   T o2)
Specified by:
compare in interface Comparator<T>


Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.