Please use com.google.common.base.AbstractIterator