static <T> List<T> toList(Class<T> targetClass, Cursor cursor) {
        return toList(targetClass, cursor, 0, Integer.MAX_VALUE);
    }
static < T > List < T > toList ( Class < T > targetClass , Cursor cursor ) { return toList ( targetClass , cursor , 0 , Integer . MAX_VALUE ) ; }
Returns values from all rows associated with the specified <code>targetClass</code> if the specified <code>targetClass</code> is an entity class, otherwise, only returns values from first column.

@param targetClass entity class or specific column type.
@param cursor
@return