Package io.helidon.common.reactive
Interface Collector<T,U>
-
- Type Parameters:
T- collected items type (input)U- result container type (output)
public interface Collector<T,U>A collector accumulates the items provided whencollect(java.lang.Object)is invoked and makes them available in a single container object withvalue().
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcollect(T item)Collect the given item.Uvalue()Get the collected items container.
-