public static < S extends Storable > Cursor < S > applyFilter ( Cursor < S > cursor , Class < S > type , String filter , Object ... filterValues ) { Filter < S > f = Filter . filterFor ( type , filter ) . bind ( ) ; FilterValues < S > fv = f . initialFilterValues ( ) . withValues ( filterValues ) ; return applyFilter ( f , fv , cursor ) ; }
Returns a Cursor that is filtered by the given filter expression and values .