This Apriori Program takes input from test-input.txt file. Here the parameters are separated by single space.
And the order is : minsupport k
(i.e. 4 3)
For each input set(4 3) we have created a separate file named out_s=4_k=3+.txt
The code was tested and it completed in around 11.5 seconds
JDK 1.8_20 with IntelliJ IDEA 14.0 Community Version