public static Supplier < Boolean > supplier ( BooleanSupplier adaptee ) { dbc . precondition ( adaptee != null , "cannot adapt a null boolean supplier" ) ; return ( ) -> adaptee . getAsBoolean ( ) ; }
Adapts a proposition to a supplier .