Predicate<T>
AndPredicate
, OrPredicate
setMessageHandler(handler)
to handle incoming messages asynchronously.@Deprecated public abstract class CompositePredicateBase<T> extends PredicateBase<T>
CompositePredicateBase
class is an abstract base class that can consist of a set
of atomic predicates.Modifier | Constructor | Description |
---|---|---|
protected |
CompositePredicateBase() |
Deprecated.
|
protected |
CompositePredicateBase(boolean isNegated) |
Deprecated.
Creates an instance of
CompositePredicateBase class. |
protected |
CompositePredicateBase(Predicate<T> p0,
Predicate<T> p1) |
Deprecated.
Creates an instance of
CompositePredicateBase class. |
Modifier and Type | Method | Description |
---|---|---|
void |
addPredicate(Predicate<T> predicate) |
Deprecated.
Adds a predicate to the predicates' set.
|
protected java.util.ArrayList<Predicate<T>> |
getPredicates() |
Deprecated.
Gets list of atomic predicates.
|
void |
removePredicate(Predicate<T> predicate) |
Deprecated.
Removes a predicate from the predicates' set.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
evaluate, invoke, isNegated, setNegated
protected CompositePredicateBase()
protected CompositePredicateBase(boolean isNegated)
CompositePredicateBase
class.isNegated
- if true the predicate is considered as negated:
an analog of the logical '!' operationprotected CompositePredicateBase(Predicate<T> p0, Predicate<T> p1)
CompositePredicateBase
class.
Composite predicate created with this constructor is an analog of a binary logical operation.p0
- first predicatep1
- second predicateprotected java.util.ArrayList<Predicate<T>> getPredicates()
public void addPredicate(Predicate<T> predicate)
predicate
- predicate to be added to the predicates' setSend comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.