public <ResultT>List<ResultT> toList(Converter<ResultT> converter){
  try {
    if (isEmpty(cursor)) {
      return Collections.emptyList();
    }
    return populate(converter,new ArrayList<ResultT>(cursor.getCount()));
  }
  finally {
    close();
  }
}

public < ResultT > List < ResultT > toList ( Converter < ResultT > converter ) { try { if ( isEmpty ( cursor ) ) { return Collections . emptyList ( ) ; } return populate ( converter , new ArrayList < ResultT > ( cursor . getCount ( ) ) ) ; } finally { close ( ) ; } }
transforms all rows from the cursor and put them in a read - only list .
