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.
|
Modifier and Type | Method and Description |
---|---|
void |
ZCLCommandResponseStream.forEach(Predicate<? super ZCLCommandResponse> handler)
Registers a handler that will be called for each of the received
responses.
|
Modifier and Type | Method and Description |
---|---|
default Predicate<T> |
Predicate.and(Predicate<? super T> and)
Compose this
Predicate logical-AND the specified
Predicate . |
static <T> Predicate<T> |
Predicate.asPredicate(Predicate<T> wrapped)
Returns a
Predicate which wraps the specified
java.util.function.Predicate . |
default Predicate<T> |
Predicate.negate()
Return a
Predicate which is the negation of this
Predicate . |
default Predicate<T> |
Predicate.or(Predicate<? super T> or)
Compose this
Predicate logical-OR the specified
Predicate . |
Modifier and Type | Method and Description |
---|---|
default Predicate<T> |
Predicate.and(Predicate<? super T> and)
Compose this
Predicate logical-AND the specified
Predicate . |
static <T> Predicate<T> |
Predicate.asJavaPredicate(Predicate<T> wrapped)
Returns a
java.util.function.Predicate which wraps the specified
Predicate and throws any thrown exceptions. |
static <T> Predicate<T> |
Predicate.asJavaPredicateOrElse(Predicate<T> wrapped,
boolean orElse)
Returns a
java.util.function.Predicate which wraps the specified
Predicate and the specified value. |
static <T> Predicate<T> |
Predicate.asJavaPredicateOrElseGet(Predicate<T> wrapped,
BooleanSupplier orElseGet)
Returns a
java.util.function.Predicate which wraps the specified
Predicate and the specified
java.util.function.BooleanSupplier . |
default Predicate<T> |
Predicate.or(Predicate<? super T> or)
Compose this
Predicate logical-OR the specified
Predicate . |
Modifier and Type | Method and Description |
---|---|
Promise<T> |
Promise.filter(Predicate<? super T> predicate)
Filter the value of this Promise.
|
Modifier and Type | Method and Description |
---|---|
Promise<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<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<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.
|
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0