|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.applicationblocks.commons.PredicateBase<T>
com.genesyslab.platform.applicationblocks.commons.CompositePredicateBase<T>
com.genesyslab.platform.applicationblocks.commons.OrPredicate<T>
setMessageHandler(handler)
to handle incoming messages asynchronously.
@Deprecated public class OrPredicate<T>
OrPredicate
class realizes 'OR' logical operation.
Constructor Summary | |
---|---|
OrPredicate()
Deprecated. |
|
OrPredicate(boolean isNegated)
Deprecated. Creates an instance of OrPredicate class. |
|
OrPredicate(Predicate<T> predicate0,
Predicate<T> predicate1)
Deprecated. OrPredicate predicate created with this constructor is an analog
of an 'OR' binary logical operation. |
Method Summary | |
---|---|
protected boolean |
evaluate(T obj)
Deprecated. Evaluates predicate's condition on 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 |
---|
public OrPredicate()
public OrPredicate(boolean isNegated)
OrPredicate
class.
isNegated
- if true the predicate is considered as negated:
an analog of the logical 'NOT' operationpublic OrPredicate(Predicate<T> predicate0, Predicate<T> predicate1)
OrPredicate
predicate created with this constructor is an analog
of an 'OR' binary logical operation.
predicate0
- first predicatepredicate1
- second predicateMethod Detail |
---|
protected boolean evaluate(T obj)
PredicateBase
evaluate
in class PredicateBase<T>
obj
- object to be used for checking the predicate condition
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |