I have
out.load(output, transactions, columnHeaders, dataFormat);
Where load is defined as:
public boolean load(String outputfile, List<Transaction> transactions, List<String> columnHeaders, String dataFormat);
and
String output = "";
String dataFormat = "";
ArrayList<ARTransaction> transactions = new ArrayList<ARTransaction>();
List<String> columnHeaders = null;
where
ARTransaction implements Transaction
Why is there a problem on the type of transactions?
Or just declare transactions as a
List<Transaction>.Here’s the common example of why you obviously can’t do this: