Uses of Interface
org.osgi.util.function.Predicate
Package
Description
Device Service Specification for ZigBee Technology.
Function Package Version 1.2.
Promise Package Version 1.3.
Push Stream Package Version 1.1.
-
Uses of Predicate in org.osgi.service.zigbee
Modifier and TypeMethodDescriptionvoid
ZCLCommandResponseStream.forEach
(Predicate<? super ZCLCommandResponse> handler) Registers a handler that will be called for each of the received responses. -
Uses of Predicate in org.osgi.util.function
Modifier and TypeMethodDescriptionCompose thisPredicate
logical-AND the specifiedPredicate
.static <T> Predicate<T>
Predicate.asPredicate
(Predicate<T> wrapped) Returns aPredicate
which wraps the specifiedjava.util.function.Predicate
.Predicate.negate()
Return aPredicate
which is the negation of thisPredicate
.Compose thisPredicate
logical-OR the specifiedPredicate
.Modifier and TypeMethodDescriptionCompose thisPredicate
logical-AND the specifiedPredicate
.static <T> Predicate<T>
Predicate.asJavaPredicate
(Predicate<T> wrapped) Returns ajava.util.function.Predicate
which wraps the specifiedPredicate
and throws any thrown exceptions.static <T> Predicate<T>
Predicate.asJavaPredicateOrElse
(Predicate<T> wrapped, boolean orElse) Returns ajava.util.function.Predicate
which wraps the specifiedPredicate
and the specified value.static <T> Predicate<T>
Predicate.asJavaPredicateOrElseGet
(Predicate<T> wrapped, BooleanSupplier orElseGet) Returns ajava.util.function.Predicate
which wraps the specifiedPredicate
and the specifiedjava.util.function.BooleanSupplier
.Compose thisPredicate
logical-OR the specifiedPredicate
. -
Uses of Predicate in org.osgi.util.promise
-
Uses of Predicate in org.osgi.util.pushstream
Modifier and TypeMethodDescriptionCloses the channel and resolve the promise with false when the predicate does not matches a pay load.Close the channel and resolve the promise with true when the predicate matches a payload.Only pass events downstream when the predicate tests true.Closes the channel and resolve the promise with false when the predicate matches any pay load.PushStream<T>[]
Split the events to different streams based on a predicate.