org.apache.camel.util
Class ExpressionComparator<E extends Exchange>
java.lang.Object
org.apache.camel.util.ExpressionComparator<E>
- All Implemented Interfaces:
- Comparator<E>
public class ExpressionComparator<E extends Exchange>
- extends Object
- implements Comparator<E>
An implementation of Comparator
which takes an Expression
which is evaluated
on each exchange to compare
- Version:
- $Revision: 35332 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpressionComparator
public ExpressionComparator(Expression<E> expression)
compare
public int compare(E e1,
E e2)
- Specified by:
compare
in interface Comparator<E extends Exchange>
Copyright © 2009 IONA Open Source Community. All Rights Reserved.