Custom function in module receiving an array or list

Hi,

I have this custom function in my module

public void publishPlaylist(IClient client, RequestFunction function, AMFDataList params) {

One of the params I am passing is an array, I am confused on how to catch the array or as a list.

I tried to google this but I get tons of false positives.

Sorry just found the examples on the server