boolean (DiffElement<?> src, DiffElement<?> trg, DirDiffSettings settings) { if (src.getSize() != trg.getSize()) return false; return Math.abs(src.getTimeStamp() - trg.getTimeStamp()) <= settings.compareTimestampAccuracy; }