public List<T> queryAsList(){
  QuantumFluxCursor<T> cursor=queryAsCursor();
  try {
    List<T> resultList=new ArrayList<>(cursor.getCount());
    while (cursor.moveToNext()) {
      resultList.add(cursor.inflate());
    }
    return resultList;
  }
  finally {
    if (cursor != null)     cursor.close();
  }
}

public List < T > queryAsList ( ) { QuantumFluxCursor < T > cursor = queryAsCursor ( ) ; try { List < T > resultList = new ArrayList < > ( cursor . getCount ( ) ) ; while ( cursor . moveToNext ( ) ) { resultList . add ( cursor . inflate ( ) ) ; } return resultList ; } finally { if ( cursor != null ) cursor . close ( ) ; } }
does the same as the query cursor , but packs all of the cursor items into a list , once the list is populated , the cursor will be closed .
