Hey there! any question in your mind? Ask It Now!.
0 votes
259 views
in Programming by

Would you please explain me about, is there no boolean consumer in java 8?

Or we need to create our own like here ,if  I am missing something please let me know :

 

public interface BooleanConsumer { void accept(boolean value); default BooleanConsumer andThen(final BooleanConsumer after) { return v -> { accept(v); after.accept(v); } } }

 

Please log in or register to answer this question.

Not a Member yet?

Ask to Folks Login

My Account

Your feedback is highly appreciated