@FunctionalInterface public interface BooleanConsumer
Modifier and Type | Method and Description |
---|---|
void |
accept(boolean b)
执行
|
default BooleanConsumer |
andThen(BooleanConsumer after)
链式执行
|
void accept(boolean b)
b
- booleandefault BooleanConsumer andThen(BooleanConsumer after)
after
- afterCopyright © 2024. All rights reserved.