org.apache.camel.util
Class ExpressionListComparator
java.lang.Object
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:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpressionListComparator
public ExpressionListComparator(List<Expression> expressions)
compare
public int compare(Exchange e1,
Exchange e2)
- Specified by:
compare
in interface Comparator<Exchange>
Apache Camel