org.apache.camel.util
Class ExpressionListComparator

java.lang.Object
  extended by org.apache.camel.util.ExpressionListComparator
All Implemented Interfaces:
Comparator<Exchange>

public class ExpressionListComparator
extends Object
implements Comparator<Exchange>

An implementation of Comparator which takes a list of Expression objects which is evaluated on each exchange to compare them

Version:

Constructor Summary
ExpressionListComparator(List<Expression> expressions)
           
 
Method Summary
 int compare(Exchange e1, Exchange e2)
           
 
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

ExpressionListComparator

public ExpressionListComparator(List<Expression> expressions)
Method Detail

compare

public int compare(Exchange e1,
                   Exchange e2)
Specified by:
compare in interface Comparator<Exchange>


Apache CAMEL