feat(bds): Added listOf to Bds.
@@ -106,6 +106,11 @@ public class Bds<T> {
return result;
}
+ @SafeVarargs
+ public static <T> List<T> listOf(final T... elements) {
+ return Arrays.asList(elements);
+ }
+
@SafeVarargs
public static <T> Set<T> setOf(final T... elements) {
return new HashSet<>(Arrays.asList(elements));
