All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sixestates.utils.Lists Maven / Gradle / Ivy

Go to download

A Java SDK for communicating with the 6Estates Intelligent Document Processing(IDP) Platform

There is a newer version: 8.2.3
Show newest version
package com.sixestates.utils;

import java.util.ArrayList;
import java.util.Collections;

/**
 * @author kechen, 06/08/24.
 */
public class Lists {
    public static  ArrayList newArrayList(T... elements) {
        if (elements == null) {
            return null;
        }
        ArrayList list = new ArrayList<>();
        Collections.addAll(list, elements);
        return list;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy