Predicate<T>
CompositePredicateBase
, MessageFilter
, RequestFilter
setMessageHandler(handler)
to handle incoming messages asynchronously.@Deprecated public abstract class PredicateBase<T> extends java.lang.Object implements Predicate<T>
PredicateBase
class is an abstract base class that implements Predicate
interface.Modifier | Constructor | Description |
---|---|---|
protected |
PredicateBase() |
Deprecated.
|
protected |
PredicateBase(boolean isNegated) |
Deprecated.
Creates an instance of predicate.
|
Modifier and Type | Method | Description |
---|---|---|
protected abstract boolean |
evaluate(T obj) |
Deprecated.
Evaluates predicate's condition on true or false.
|
boolean |
invoke(T obj) |
Deprecated.
Evaluates predicate's condition of being true or false.
|
boolean |
isNegated() |
Deprecated.
Negated state of the predicate.
|
void |
setNegated(boolean value) |
Deprecated.
Negated state of the predicate.
|
protected PredicateBase()
protected PredicateBase(boolean isNegated)
isNegated
- if true the predicate is considered as negated:
an analog of the logical 'NOT' operationpublic boolean isNegated()
public void setNegated(boolean value)
value
- if NOT is appliedpublic boolean invoke(T obj)
protected abstract boolean evaluate(T obj)
obj
- object to be used for checking the predicate conditionSend comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.