code: public static <T> ArrayList<T> consumeToArrayList(IterableCursor<T> cursor) {
          return consumeToCollection(cursor, new ArrayList<T>(cursor.getCount()));
      }
docs: Returns an {@link java.util.ArrayList} of the {@link android.database.Cursor} and closes it.