public List<PlanNodeTable> loadAllDeepFromCursor(Cursor cursor){
  int count=cursor.getCount();
  List<PlanNodeTable> list=new ArrayList<PlanNodeTable>(count);
  if (cursor.moveToFirst()) {
    if (identityScope != null) {
      identityScope.lock();
      identityScope.reserveRoom(count);
    }
    try {
      do {
        list.add(loadCurrentDeep(cursor,false));
      }
 while (cursor.moveToNext());
    }
  finally {
      if (identityScope != null) {
        identityScope.unlock();
      }
    }
  }
  return list;
}

public List < PlanNodeTable > loadAllDeepFromCursor ( Cursor cursor ) { int count = cursor . getCount ( ) ; List < PlanNodeTable > list = new ArrayList < PlanNodeTable > ( count ) ; if ( cursor . moveToFirst ( ) ) { if ( identityScope != null ) { identityScope . lock ( ) ; identityScope . reserveRoom ( count ) ; } try { do { list . add ( loadCurrentDeep ( cursor , false ) ) ; } while ( cursor . moveToNext ( ) ) ; } finally { if ( identityScope != null ) { identityScope . unlock ( ) ; } } } return list ; }
reads all available rows from the given cursor and returns a list of new imageto objects .
