@Mutable public interface Collector<INPUT,RESULT> extends Consumer<INPUT>, FailableCollector<INPUT,RESULT,RuntimeException,RuntimeException>
INPUT and produces a result of type RESULT.DO_NOTHING| Modifier and Type | Method and Description |
|---|---|
default @Nonnull Collector<INPUT,RESULT> |
synchronize()
Returns a consumer that synchronizes on this consumer.
|
after, after, asFunction, beforegetResult, suppressExceptions, suppressExceptions, suppressExceptions, suppressExceptions@Pure @Nonnull default @Nonnull Collector<INPUT,RESULT> synchronize()
FailableConsumersynchronize in interface Consumer<INPUT>synchronize in interface FailableCollector<INPUT,RESULT,RuntimeException,RuntimeException>synchronize in interface FailableConsumer<INPUT,RuntimeException>Copyright © 2017. All rights reserved.