Hello People, I want to compare two Directory, which have a big capacity about 1 GB(until 20 GB) for one Directory, what should i do to make the code effectively ? Should i use Vector or another Java Collection(Set,List,Map,HashMap,etc) to store the Files temporary. The Files come from another network. I need any Hint or Idea, thanks
You're not going to get away with storing the entire content of the directories. You may be able to get away with storing the file names and maybe a few attributes like file size and last modification date (depending on how many files there are this is likely possible).