Platform SDK Java 8.5 API Reference

com.genesyslab.platform.applicationblocks.commons
Class AndPredicate<T>

java.lang.Object
  extended by com.genesyslab.platform.applicationblocks.commons.PredicateBase<T>
      extended by com.genesyslab.platform.applicationblocks.commons.CompositePredicateBase<T>
          extended by com.genesyslab.platform.applicationblocks.commons.AndPredicate<T>
All Implemented Interfaces:
Predicate<T>

Deprecated. Message Broker Application Block is deprecated. Use setMessageHandler(handler) to handle incoming messages asynchronously.

@Deprecated
public class AndPredicate<T>
extends CompositePredicateBase<T>

AndPredicate class realizes 'AND' logical operation.


Constructor Summary
AndPredicate()
          Deprecated.  
AndPredicate(boolean isNegated)
          Deprecated.  
AndPredicate(Predicate<T> predicate0, Predicate<T> predicate1)
          Deprecated. Creates an instance of AndPredicate class.
 
Method Summary
protected  boolean evaluate(T obj)
          Deprecated. Evaluates predicate's condition of being true or false.
 
Methods inherited from class com.genesyslab.platform.applicationblocks.commons.CompositePredicateBase
addPredicate, getPredicates, removePredicate
 
Methods inherited from class com.genesyslab.platform.applicationblocks.commons.PredicateBase
invoke, isNegated, setNegated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndPredicate

public AndPredicate()
Deprecated. 

AndPredicate

public AndPredicate(boolean isNegated)
Deprecated. 

AndPredicate

public AndPredicate(Predicate<T> predicate0,
                    Predicate<T> predicate1)
Deprecated. 
Creates an instance of AndPredicate class. AndPredicate predicate created with this constructor is an analog of a 'AND' binary logical operation.

Parameters:
predicate0 - the first predicate.
predicate1 - the second predicate.
Method Detail

evaluate

protected boolean evaluate(T obj)
Deprecated. 
Evaluates predicate's condition of being true or false.

Specified by:
evaluate in class PredicateBase<T>
Parameters:
obj - Object to be used for checking the predicate condition
Returns:
true or false of the predicate's condition

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.