Java Code Examples for com.socks.greendao.VideoCache#setTime()
The following examples show how to use
com.socks.greendao.VideoCache#setTime() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: VideoCacheDao.java From JianDan_OkHttpWithVolley with Apache License 2.0 | 5 votes |
/** @inheritdoc */ @Override public void readEntity(Cursor cursor, VideoCache entity, int offset) { entity.setId(cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0)); entity.setResult(cursor.isNull(offset + 1) ? null : cursor.getString(offset + 1)); entity.setPage(cursor.isNull(offset + 2) ? null : cursor.getInt(offset + 2)); entity.setTime(cursor.isNull(offset + 3) ? null : cursor.getLong(offset + 3)); }
Example 2
Source File: VideoCacheDao.java From JianDan with Apache License 2.0 | 5 votes |
/** @inheritdoc */ @Override public void readEntity(Cursor cursor, VideoCache entity, int offset) { entity.setId(cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0)); entity.setResult(cursor.isNull(offset + 1) ? null : cursor.getString(offset + 1)); entity.setPage(cursor.isNull(offset + 2) ? null : cursor.getInt(offset + 2)); entity.setTime(cursor.isNull(offset + 3) ? null : cursor.getLong(offset + 3)); }
Example 3
Source File: VideoCacheDao.java From JianDanRxJava with Apache License 2.0 | 5 votes |
/** @inheritdoc */ @Override public void readEntity(Cursor cursor, VideoCache entity, int offset) { entity.setId(cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0)); entity.setResult(cursor.isNull(offset + 1) ? null : cursor.getString(offset + 1)); entity.setPage(cursor.isNull(offset + 2) ? null : cursor.getInt(offset + 2)); entity.setTime(cursor.isNull(offset + 3) ? null : cursor.getLong(offset + 3)); }
Example 4
Source File: VideoCacheDao.java From JianDan_OkHttp with Apache License 2.0 | 5 votes |
/** @inheritdoc */ @Override public void readEntity(Cursor cursor, VideoCache entity, int offset) { entity.setId(cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0)); entity.setResult(cursor.isNull(offset + 1) ? null : cursor.getString(offset + 1)); entity.setPage(cursor.isNull(offset + 2) ? null : cursor.getInt(offset + 2)); entity.setTime(cursor.isNull(offset + 3) ? null : cursor.getLong(offset + 3)); }