|
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>
setMessageHandler(handler)
to handle incoming messages asynchronously.
@Deprecated public abstract class CompositePredicateBase<T>
CompositePredicateBase
class is an abstract base class that can consist of a set
of atomic predicates.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.genesyslab.platform.applicationblocks.commons.PredicateBase |
---|
evaluate, invoke, isNegated, setNegated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 predicateMethod Detail |
---|
protected java.util.ArrayList<Predicate<T>> getPredicates()
public void addPredicate(Predicate<T> predicate)
predicate
- predicate to be added to the predicates' setpublic void removePredicate(Predicate<T> predicate)
predicate
- predicate to be removed from the predicates' set
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |