public static <T1, T2, T3, T4> Consumer<Tuple4<T1, T2, T3, T4>> consumer(Consumer4<T1, T2, T3, T4> consumer) {
        return tuple -> consumer.accept(tuple.getT1(), tuple.getT2(), tuple.getT3(), tuple.getT4());
    }
public static < T1 , T2 , T3 , T4 > Consumer < Tuple4 < T1 , T2 , T3 , T4 > > consumer ( Consumer4 < T1 , T2 , T3 , T4 > consumer ) { return tuple -> consumer . accept ( tuple . getT1 ( ) , tuple . getT2 ( ) , tuple . getT3 ( ) , tuple . getT4 ( ) ) ; }
Returns a {@link Consumer} of {@link Tuple4} that wraps a consumer of the component values of the tuple

@param consumer the component value consumer
@param <T1>     the type of the first value
@param <T2>     the type of the second value
@param <T3>     the type of the third value
@param <T4>     the type of the fourth value
@return the wrapper consumer