Change Iterator::HasNext to End