Interface ApplyIfNull


  • public interface ApplyIfNull
    Same as ApplyIfNotNull but it will invoke the supplier only if the data is null.
    Since:
    Jan 14, 2019
    • Method Detail

      • applyIfNull

        default <T> T applyIfNull​(T data,
                                  Supplier<T> supplier)