public static <L, M, R, S> ImmutableQuartet<L, M, R, S> of(final L f1, final M f2, final R f3, final S f4) {
        return new ImmutableQuartet<>(f1, f2, f3, f4);
    }
<p>Obtains an immutable quartet of four objects inferring the generic types.</p>

<p>This factory allows the quartet to be created using inference to
obtain the generic types.</p>

@param <L> the f1 element type
@param <M> the f2 element type
@param <R> the f3 element type
@param <S> the f4 element type
@param f1  the f1 element, may be null
@param f2  the f2 element, may be null
@param f3  the f3 element, may be null
@param f4  the f4 element, may be null
@return a quartet formed from the four parameters, not null
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/tool/excel/tuple/ImmutableQuartet.java