public boolean include(TreeWalk walker)throws MissingObjectException,IncorrectObjectTypeException, IOException {count++;if (count % stepSize == 0) {if (count <= total)monitor.update(stepSize);if (monitor.isCancelled())throw StopWalkException.INSTANCE;}return true;}
public override bool Include(TreeWalk walker){count++;if (count % stepSize == 0){if (count <= total){monitor.Update(stepSize);}if (monitor.IsCancelled()){throw StopWalkException.INSTANCE;}}return true;}