com.ulisesbocchio.jasyptspringboot.util.Collections Maven / Gradle / Ivy
package com.ulisesbocchio.jasyptspringboot.util;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
public class Collections {
public static List concat(List listOne, List listTwo) {
return Stream.concat(listOne.stream(), listTwo.stream())
.collect(Collectors.toList());
}
}