org.apache.camel
Class Predicates
java.lang.Object
org.apache.camel.Predicates
public class Predicates
- extends Object
A helper class for working with predicates
- Version:
- $Revision: 520261 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Predicates
public Predicates()
and
public static <E extends Exchange> Predicate<E> and(Predicate<E> left,
Predicate<E> right)
- A helper method to combine multiple predicates by a logical AND
or
public static <E extends Exchange> Predicate<E> or(Predicate<E> left,
Predicate<E> right)
- A helper method to combine multiple predicates by a logical OR
isEqualTo
public static <E extends Exchange> Predicate<E> isEqualTo(Expression<E> left,
Expression<E> right)
isNotEqualTo
public static <E extends Exchange> Predicate<E> isNotEqualTo(Expression<E> left,
Expression<E> right)
isLessThan
public static <E extends Exchange> Predicate<E> isLessThan(Expression<E> left,
Expression<E> right)
isLessThanOrEqualTo
public static <E extends Exchange> Predicate<E> isLessThanOrEqualTo(Expression<E> left,
Expression<E> right)
isGreaterThan
public static <E extends Exchange> Predicate<E> isGreaterThan(Expression<E> left,
Expression<E> right)
isGreaterThanOrEqualTo
public static <E extends Exchange> Predicate<E> isGreaterThanOrEqualTo(Expression<E> left,
Expression<E> right)
Copyright © 2007 Apache Software Foundation. All Rights Reserved.