@FunctionalInterface public interface ExceptionLongConsumer
| 限定符和类型 | 方法和说明 |
|---|---|
void |
accept(long value)
Performs this operation on the given argument.
|
default ExceptionLongConsumer |
andThen(ExceptionLongConsumer after)
Returns a composed
IntConsumer that performs, in sequence, this
operation followed by the after operation. |
default java.util.function.LongConsumer |
toLongConsumer() |
void accept(long value)
throws Exception
value - the input argumentException - Exceptiondefault ExceptionLongConsumer andThen(ExceptionLongConsumer after)
IntConsumer that performs, in sequence, this
operation followed by the after operation. If performing either
operation throws an exception, it is relayed to the caller of the
composed operation. If performing this operation throws an exception, the
after operation will not be performed.after - the operation to perform after this operationIntConsumer that performs in sequence this
operation followed by the after operationNullPointerException - if after is nulldefault java.util.function.LongConsumer toLongConsumer()
Copyright © 2022. All rights reserved.