public GenericValue currentGenericValue() throws GenericEntityException {
  if (closed)   throw new GenericResultSetClosedException("This EntityListIterator has been closed, this operation cannot be performed");
  GenericValue value=GenericValue.create(modelEntity);
  value.setDelegator(this.delegator);
  for (int j=0; j < selectFields.size(); j++) {
    ModelField curField=selectFields.get(j);
    SqlJdbcUtil.getValue(resultSet,j + 1,curField,value,modelFieldTypeReader);
  }
  value.synchronizedWithDatasource();
  this.haveMadeValue=true;
  return value;
}

public GenericValue currentGenericValue ( ) throws GenericEntityException { if ( closed ) throw new GenericResultSetClosedException ( "This EntityListIterator has been closed, this operation cannot be performed" ) ; GenericValue value = GenericValue . create ( modelEntity ) ; value . setDelegator ( this . delegator ) ; for ( int j = 0 ; j < selectFields . size ( ) ; j ++ ) { ModelField curField = selectFields . get ( j ) ; SqlJdbcUtil . getValue ( resultSet , j + 1 , curField , value , modelFieldTypeReader ) ; } value . synchronizedWithDatasource ( ) ; this . haveMadeValue = true ; return value ; }
note : calling this method does return the current value , but so does calling next ( ) or previous ( ) , so calling one of those and this method will cause the value to be created twice
