@@ -52,10 +52,6 @@ public abstract class Cursor<T> implements Closeable {
5252
5353 static native long nativeCount (long cursor );
5454
55- static native List nativeFindScalar (long cursor , String propertyName , long value );
56-
57- static native List nativeFindString (long cursor , String propertyName , String value );
58-
5955 static native List nativeFindScalarPropertyId (long cursor , int propertyId , long value );
6056
6157 static native List nativeFindStringPropertyId (long cursor , int propertyId , String value );
@@ -217,23 +213,13 @@ public int getPropertyId(String propertyName) {
217213 }
218214
219215 @ Temporary
220- public List <T > find (String propertyName , long value ) {
221- return nativeFindScalar (cursor , propertyName , value );
222- }
223-
224- @ Temporary
225- public List <T > find (String propertyName , String value ) {
226- return nativeFindString (cursor , propertyName , value );
227- }
228-
229- @ Temporary
230- public List <T > find (int propertyId , long value ) {
231- return nativeFindScalarPropertyId (cursor , propertyId , value );
216+ public List <T > find (Property property , long value ) {
217+ return nativeFindScalarPropertyId (cursor , property .id , value );
232218 }
233219
234220 @ Temporary
235- public List <T > find (int propertyId , String value ) {
236- return nativeFindStringPropertyId (cursor , propertyId , value );
221+ public List <T > find (Property property , String value ) {
222+ return nativeFindStringPropertyId (cursor , property . id , value );
237223 }
238224
239225 /**
0 commit comments