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

db.sql.api.impl.tookit.Lists Maven / Gradle / Ivy

There is a newer version: 1.7.6-RC2
Show newest version
package db.sql.api.impl.tookit;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

public final class Lists {


    public static  List merge(List list, T... ts) {
        if (ts == null || ts.length < 1) {
            return list;
        }
        list.addAll(Arrays.stream(ts).collect(Collectors.toList()));
        return list;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy