org.testng.internal.collections.Ints Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
A testing framework for the JVM
package org.testng.internal.collections;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
public final class Ints {
private Ints() {}
public static List asList(int... ints) {
return Arrays.stream(ints).boxed().collect(Collectors.toList());
}
}