public IndexStoreEntry next(){
  if (needToCallHasNext) {
    hasNext();
  }
  needToCallHasNext=true;
  return nextEntry;
}

public IndexStoreEntry next ( ) { if ( needToCallHasNext ) { hasNext ( ) ; } needToCallHasNext = true ; return nextEntry ; }
do not retain a reference to the returned object .
