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

java.lang.Object
  extended by com.mysema.query.collections.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-2012 Mysema Ltd. All Rights Reserved.