List<T> items = new ArrayList<>(of(a, b, c));
List<T> items = new ArrayList<>();
items.add(a);
items.add(b);
items.add(c);
List<T> items = Arrays.asList(a, b, c);
var items = List.of(a, b, c);
std::vector<T> items = {a, b, c};
T[] items = new T[] { a, b, c };
var items = new List<T>{a,b,c};
integer, dimension(3) :: items
items = [a,b,c]
const items = new Array(a, b, c);
val items = listOf(a, b, c)
(defparameter *items* (list a b c))
var
Items: TList;
a,b,c: pointer;
begin
Items := TList.Create;
Items.Add(a);
Items.Add(b);
Items.Add(c);
end.
my @items = ($a, $b, $c);
let items = vec![a, b, c];
val items = List(a, b, c)
(define items (list a b c))
Dim salmons As New List(Of String) From
{"chinook", "coho", "pink", "sockeye"}