i tried the following
ArrayList<FileFilter>[] allFilters = new ArrayList<FileFilter>()[10]
and i get
The type of the expression must be an array type but it resolved to ArrayList<FileFilter>
is it possible (i'm using java). btw reason i am doing it is because i am trying to filter out files. some filters are or_filters, in which case i put them all in the same place in the regular array, and some are and_filters which are in another place in the regular array. is there any better idea?