@Override public List<T> getMinListForRange(int startIndex, int endIndex, INodeDirectory dir) { return diffs.getMinListForRange(startIndex, endIndex, dir); } };
/** * Returns the list of diffs between two indexes corresponding to two * snapshots. * @param fromIndex Index of the diff corresponding to the earlier snapshot * @param toIndex Index of the diff corresponding to the later snapshot * @param dir The Directory to which the diffList belongs * @return list of directory diffs */ List<DirectoryDiff> getDiffListBetweenSnapshots(int fromIndex, int toIndex, INodeDirectory dir) { return asList().getMinListForRange(fromIndex, toIndex, dir); } }