T
- the implementation T
of the Message
being filtered.public class ForwardToAll<T extends Message<?>> extends Object implements ForwardingMode<T>
T
regardless of their set up.Constructor and Description |
---|
ForwardToAll() |
Modifier and Type | Method and Description |
---|---|
<E> Stream<E> |
filterCandidates(T message,
Stream<E> candidates)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize
public <E> Stream<E> filterCandidates(@Nonnull T message, @Nonnull Stream<E> candidates)
ForwardingMode
filterCandidates
in interface ForwardingMode<T extends Message<?>>
E
- The type of the candidates
message
- The message of type T
to be forwarded.candidates
- The Stream
of candidates to filter.Stream
of candidates
which will handle the message
.Copyright © 2010–2024. All rights reserved.