Hey there! any question in your mind? Ask It Now!.

Popular Categories





Boolean Consumer in Java 8.

0 votes
147 views
asked in Programming by vimal jain

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.

Related Questions

+3 votes
2 answers 1,831 views
asked in Programming by krish Expert (6,310 points)
0 votes
0 answers 71 views
0 votes
1 answer 115 views
0 votes
1 answer 62 views
+1 vote
1 answer 776 views
+3 votes
1 answer 643 views
+2 votes
2 answers 788 views
–1 vote
0 answers 111 views
+3 votes
1 answer 359 views
+5 votes
2 answers 61 views

Not a Member yet?

Ask to Folks Login

My Account
1067 Folks are online
69 members and 998 guest online
Your feedback is highly appreciated