| Modifier and Type | Method and Description |
|---|---|
void |
accept(IN in)
Performs this operation on the given argument.
|
ConsumerWrapper<IN> |
andThen(Consumer<? super IN> after)
Returns a composed consumer wrapper that performs, in sequence, this operation followed by
the after operation.
|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
hasStaticContext()
Checks if the consumers wrapped by this instance have a static context.
|
static <IN> ConsumerWrapper<IN> |
sink()
Returns a consumer wrapper just discarding the passed inputs.
The returned object will support concatenation and comparison. |
@NotNull public static <IN> ConsumerWrapper<IN> sink()
IN - the input data type.@NotNull public ConsumerWrapper<IN> andThen(@NotNull Consumer<? super IN> after)
after - the operation to perform after this operation.public boolean hasStaticContext()