DeltaWindow(PackConfig pc, DeltaCache dc, ObjectReader or, ProgressMonitor pm, long bpu, ObjectToPack[] in, int beginIndex, int endIndex) { config = pc; deltaCache = dc; reader = or; monitor = pm; bytesPerUnit = bpu; toSearch = in; cur = beginIndex; end = endIndex; maxMemory = Math.max(0, config.getDeltaSearchMemoryLimit()); maxDepth = config.getMaxDeltaDepth(); res = DeltaWindowEntry.createWindow(config.getDeltaSearchWindowSize()); }
DeltaWindow(PackConfig pc, DeltaCache dc, ObjectReader or, ProgressMonitor pm, long bpu, ObjectToPack[] in, int beginIndex, int endIndex) { config = pc; deltaCache = dc; reader = or; monitor = pm; bytesPerUnit = bpu; toSearch = in; cur = beginIndex; end = endIndex; maxMemory = Math.max(0, config.getDeltaSearchMemoryLimit()); maxDepth = config.getMaxDeltaDepth(); res = DeltaWindowEntry.createWindow(config.getDeltaSearchWindowSize()); }
DeltaWindow(PackConfig pc, DeltaCache dc, ObjectReader or, ProgressMonitor pm, long bpu, ObjectToPack[] in, int beginIndex, int endIndex) { config = pc; deltaCache = dc; reader = or; monitor = pm; bytesPerUnit = bpu; toSearch = in; cur = beginIndex; end = endIndex; maxMemory = Math.max(0, config.getDeltaSearchMemoryLimit()); maxDepth = config.getMaxDeltaDepth(); res = DeltaWindowEntry.createWindow(config.getDeltaSearchWindowSize()); }