F - the type to convert from SQLite-compatible values.T - the type to convert to.public interface TypeConverter<F,T>
SQLite-compatible types include boolean, byte, byte[],
double, float, int, long, short
and String.
| Modifier and Type | Method and Description |
|---|---|
T |
fromDatabase(F value)
Converts
value of SQLite-compatible type F to type T. |
F |
toDatabase(T value)
Converts
value of type T to type F
that is SQLite-compatible. |