org.apache.camel.util
Class ExpressionListComparator<E extends Exchange>
java.lang.Object
org.apache.camel.util.ExpressionListComparator<E>
- All Implemented Interfaces:
- Comparator<E>
public class ExpressionListComparator<E extends Exchange>
- extends Object
- implements Comparator<E>
An implementation of Comparator
which takes a list of
Expression
objects which is evaluated
on each exchange to compare them
- Version:
- $Revision: 1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpressionListComparator
public ExpressionListComparator(List<Expression<E>> expressions)
compare
public int compare(E e1,
E e2)
- Specified by:
compare
in interface Comparator<E extends Exchange>
Copyright © 2007 Apache Software Foundation. All Rights Reserved.