class Nothing {

    @SuppressWarnings("WeakerAccess")
    public static <T, U> BiFunction<T, U, Nothing>
    voidToNothing2(final @NotNull BiConsumer<? super T, ? super U> consumer) {
        return (inputT, inputU) -> {
            consumer.accept(inputT, inputU);
            return Nothing.instance;
        };
    }

    private  Nothing();

}