Package org.apache.camel.support
Class ExpressionListComparator
java.lang.Object
org.apache.camel.support.ExpressionListComparator
- All Implemented Interfaces:
Comparator<org.apache.camel.Exchange>
public class ExpressionListComparator
extends Object
implements Comparator<org.apache.camel.Exchange>
An implementation of
Comparator which takes a list of Expression objects
which is evaluated on each exchange to compare them-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(org.apache.camel.Exchange e1, org.apache.camel.Exchange e2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ExpressionListComparator
-
-
Method Details
-
compare
public int compare(org.apache.camel.Exchange e1, org.apache.camel.Exchange e2) - Specified by:
comparein interfaceComparator<org.apache.camel.Exchange>
-