Uses of Interface
org.osgi.util.function.Predicate
-
Packages that use Predicate Package Description org.osgi.service.zigbee Device Service Specification for ZigBee Technology.org.osgi.util.function Function Package Version 1.2.org.osgi.util.promise Promise Package Version 1.2.org.osgi.util.pushstream Push Stream Package Version 1.0. -
-
Uses of Predicate in org.osgi.service.zigbee
Methods in org.osgi.service.zigbee with parameters of type Predicate Modifier and Type Method Description voidZCLCommandResponseStream. 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
Methods in org.osgi.util.function that return Predicate Modifier and Type Method Description default Predicate<T>Predicate. and(Predicate<? super T> and)Compose thisPredicatelogical-AND the specifiedPredicate.static <T> Predicate<T>Predicate. asPredicate(java.util.function.Predicate<T> wrapped)Returns aPredicatewhich wraps the specifiedjava.util.function.Predicate.default Predicate<T>Predicate. negate()Return aPredicatewhich is the negation of thisPredicate.default Predicate<T>Predicate. or(Predicate<? super T> or)Compose thisPredicatelogical-OR the specifiedPredicate.Methods in org.osgi.util.function with parameters of type Predicate Modifier and Type Method Description default Predicate<T>Predicate. and(Predicate<? super T> and)Compose thisPredicatelogical-AND the specifiedPredicate.static <T> java.util.function.Predicate<T>Predicate. asJavaPredicate(Predicate<T> wrapped)Returns ajava.util.function.Predicatewhich wraps the specifiedPredicateand throws any thrown exceptions.static <T> java.util.function.Predicate<T>Predicate. asJavaPredicateOrElse(Predicate<T> wrapped, boolean orElse)Returns ajava.util.function.Predicatewhich wraps the specifiedPredicateand the specified value.static <T> java.util.function.Predicate<T>Predicate. asJavaPredicateOrElseGet(Predicate<T> wrapped, java.util.function.BooleanSupplier orElseGet)Returns ajava.util.function.Predicatewhich wraps the specifiedPredicateand the specifiedjava.util.function.BooleanSupplier.default Predicate<T>Predicate. or(Predicate<? super T> or)Compose thisPredicatelogical-OR the specifiedPredicate. -
Uses of Predicate in org.osgi.util.promise
Methods in org.osgi.util.promise with parameters of type Predicate Modifier and Type Method Description Promise<T>Promise. filter(Predicate<? super T> predicate)Filter the value of this Promise. -
Uses of Predicate in org.osgi.util.pushstream
Methods in org.osgi.util.pushstream with parameters of type Predicate Modifier and Type Method Description Promise<java.lang.Boolean>PushStream. allMatch(Predicate<? super T> predicate)Closes the channel and resolve the promise with false when the predicate does not matches a pay load.Promise<java.lang.Boolean>PushStream. anyMatch(Predicate<? super T> predicate)Close the channel and resolve the promise with true when the predicate matches a payload.PushStream<T>PushStream. filter(Predicate<? super T> predicate)Only pass events downstream when the predicate tests true.Promise<java.lang.Boolean>PushStream. noneMatch(Predicate<? super T> predicate)Closes the channel and resolve the promise with false when the predicate matches any pay load.PushStream<T>[]PushStream. split(Predicate<? super T>... predicates)Split the events to different streams based on a predicate.
-