public void stopWalk() {final int cur = ptr;final int cnt = cache.getEntryCount();if (cur < cnt)builder.keep(cur, cnt - cur);}

public override void StopWalk(){int cur = ptr;int cnt = cache.GetEntryCount();if (cur < cnt){builder.Keep(cur, cnt - cur);}}
