public interface CompoundPredicate
CompoundPredicate
is also a VisitablePredicate
, taking into account
the immutability requirements for VisitablePredicate
s, setPredicates(Predicate[])
should
throw an IllegalStateException
when invoked on a CompoundStatement
whose sub-predicates
have already been set.Modifier and Type | Method and Description |
---|---|
<K,V> Predicate<K,V>[] |
getPredicates()
An array of predicates which compose this predicate.
|
<K,V> void |
setPredicates(Predicate<K,V>[] predicates)
Set the sub-predicates of this
CompoundPredicate . |
<K,V> Predicate<K,V>[] getPredicates()
<K,V> void setPredicates(Predicate<K,V>[] predicates)
CompoundPredicate
. If a predicate should be treated as effectively
immutable, such as a VisitablePredicate
, it is advised that this method throws
IllegalStateException
when sub-predicates have already been defined.K
- V
- predicates
- Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.