Uses of Interface
org.osgi.util.function.Predicate
Packages that use Predicate
Package
Description
Promise Package Version 1.1.
Push Stream Package Version 1.0.
-
Uses of Predicate in org.osgi.util.promise
Fields in org.osgi.util.promise declared as PredicateMethods in org.osgi.util.promise with parameters of type PredicateModifier and TypeMethodDescriptionFilter the value of this Promise.Filter the value of this Promise.Filter the value of this Promise.Constructors in org.osgi.util.promise with parameters of type PredicateModifierConstructorDescription(package private)
Filter
(PromiseImpl<T> promise, Predicate<? super T> predicate) -
Uses of Predicate in org.osgi.util.pushstream
Methods in org.osgi.util.pushstream with parameters of type PredicateModifier 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>[]
PushStream<T>[]
Split the events to different streams based on a predicate.