ArrayList.wrap


Description:

public ArrayList.wrap (owned G[] items, owned EqualDataFunc<G>? equal_func = null)

Constructs a new array list based on provided array.

If not provided, the function parameter is requested to the Functions function factory methods.

Parameters:

items

initial items to be put into array

equal_func

an optional element equality testing function