
org.droitateddb.DbFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
droitatedDB is a lightweight framework, which frees you from the burden of dealing with Androids SQLite
database directly if you don't want to
and let's you access it directly if you have to.
package org.droitateddb;
import android.database.sqlite.SQLiteDatabase;
/**
* A function executable on an open database connection
*
* @author Falk Appel
* @author Alexander Frank
*/
public interface DbFunction {
/**
* Execute an action on the database and return an appropriate result
*
* @param db A open database connection
* @return Result of your operation
*/
T apply(SQLiteDatabase db);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy