urbanairship-core/src/main/java/com/urbanairship/remotedata/RemoteDataStore.java
@NonNull
    private List<RemoteDataPayloadEntry> generatePayloadEntries(@NonNull Cursor cursor) {
        cursor.moveToFirst();

        List<RemoteDataPayloadEntry> entries = new ArrayList<>();
        while (!cursor.isAfterLast()) {
            RemoteDataPayloadEntry entry = new RemoteDataPayloadEntry(cursor);
            entries.add(entry);
            cursor.moveToNext();
        }

        return entries;
    }
/**
     * Helper method to generate payload entries from a a cursor.
     *
     * @param cursor The cursor.
     * @return A list of RemoteDataPayloadEntry objects.
     */
Helper method to generate payload entries from a a cursor.
@param cursor The cursor.
@return A list of RemoteDataPayloadEntry objects.
Helper method to generate payload entries from a a cursor . @param cursor The cursor . @return A list of RemoteDataPayloadEntry objects .
@NonNull
    private List<RemoteDataPayloadEntry> generatePayloadEntries(@NonNull Cursor cursor) {
        cursor.moveToFirst();
        List<RemoteDataPayloadEntry> entries = new ArrayList<>();
        while (!cursor.isAfterLast()) {
            RemoteDataPayloadEntry entry = new RemoteDataPayloadEntry(cursor);
            entries.add(entry);
            cursor.moveToNext();
        }
        return entries;
    }
@ NonNull private List < RemoteDataPayloadEntry > generatePayloadEntries ( @ NonNull Cursor cursor ) { cursor . moveToFirst ( ) ; List < RemoteDataPayloadEntry > entries = new ArrayList < > ( ) ; while ( ! cursor . isAfterLast ( ) ) { RemoteDataPayloadEntry entry = new RemoteDataPayloadEntry ( cursor ) ; entries . add ( entry ) ; cursor . moveToNext ( ) ; } return entries ; }
Helper method to generate payload entries from a a cursor.
Helper method to generate payload entries from a a cursor .