I am using java 7 but could upgrade to 8 if deemed worthwhile.
I am creating a program to compare files in 2 folders.
I am using Files.newDirectoryStream to extract the file data, although i have still to work out how to do that recursively, but I'm sure that should not be too difficult.
So to the point, I will do the compare and then add missing items so they are in sync.
This means I will need to store:
1) the name & 2) the path
Therefore I will need to use something to do this. I know I can do it with an Array[][]. But is this the best way to do this, or are lists more efficient.
I imagine the largest folder to hold 200 files.
Thanks in advance.