How to wrap similar classes from different packages
<p>I develop an app for android which uses standard <em>android.database.sqlite.SQLiteDatabase</em> as well as <em>net.sqlcipher.database.SQLiteDatabase</em>.</p>

<p>These classes are very similar but I have to duplicate some pieces of code just to handle these different types, even if I need to call the same methods.</p>

<p>Can anybody advice what would be the best way to create some wrapper around these classes to have single interface for interaction with both types.</p>
