December 25, 2018

Providing implementation for getAsBoolean in BooleanSupplier – a functional interface – in java

If you don’t know about Functional Inteface then you can read about it, in the provided link. Now coming to BooleanSupplier, it is a functional interface. It has only one abstract method. boolean getAsBoolean() :- it returns a boolean value and has no input parameters. It can be used to provide streams of boolean values. Implementation 1 […]

Read more