Does the JDK provide a dummy consumer?

No, JDK does not provide dummy consumer as well as other predefined functions like dummy runnable, always-true predicate or supplier which always returns zero. Just write t -> {}, it’s anyways shorter than calling any possible ready method which will do the same.

Leave a Comment